woocommerce_note_updated
Fires when an admin note is updated.
Usage
add_action( 'woocommerce_note_updated', 'wp_kama_woocommerce_note_updated_action' );
/**
* Function for `woocommerce_note_updated` action-hook.
*
* @param int $note_id Note ID.
*
* @return void
*/
function wp_kama_woocommerce_note_updated_action( $note_id ){
// action...
}
- $note_id(int)
- Note ID.
Where the hook is called
woocommerce/src/Admin/Notes/DataStore.php 184
do_action( 'woocommerce_note_updated', $note->get_id() );