woocommerce_get_note_from_db

woocommerce_get_note_from_db

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_note_from_db') is found 1 times:

  • /src/Admin/Notes/Notes.php line 52
    				 *
    				 * @since 6.9.0
    				 * @param Note $note The note object from the database.
    				 */
    				$note                               = apply_filters( 'woocommerce_get_note_from_db', $note );
    				$note_id                            = $note->get_id();
    				$notes[ $note_id ]                  = $note->get_data();
    				$notes[ $note_id ]['name']          = $note->get_name( $context );
    				$notes[ $note_id ]['type']          = $note->get_type( $context );
    				$notes[ $note_id ]['locale']        = $note->get_locale( $context );
    				$notes[ $note_id ]['title']         = $note->get_title( $context );
    

See this hook used in plugins: