woocommerce_note_where_clauses

woocommerce_note_where_clauses

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_note_where_clauses') is found 1 times:

  • /src/Admin/Notes/DataStore.php line 459
    		 * @param string $where_clauses The generated WHERE clause.
    		 * @param array  $args          The original arguments for the request.
    		 * @param string $context Optional argument that the woocommerce_note_where_clauses filter can use to determine whether to apply extra conditions. Extensions should define their own contexts and use them to avoid adding to notes where clauses when not needed.
    		 */
    		return apply_filters( 'woocommerce_note_where_clauses', $where_clauses, $args, $context );
    	}
    
    	/**
    	 * Return where clauses for notes queries without applying woocommerce_note_where_clauses filter.
    	 * INTERNAL: This method is not intended to be used by external code, and may change without notice.
    	 *