Description
Filter the WHERE statement for the item request SQL query.
Usage
apply_filters( 'wp_data_sync_item_request_sql_where', $where, $post_type );
Parameters
$where | string | The SQL WHERE statement | $post_type | string | The post type name |
Code Example
add_filter( 'wp_data_sync_item_request_sql_where', function( $where, $post_type ) {
//Do cool stuff here!!
return $where;
), 10, 2 );
Contact us if you need a code example for this hook. We are happy to review your request.