add filter PHPDocs

This commit is contained in:
Ron Rennick 2019-09-04 14:15:21 -03:00
parent e2d326b236
commit d9000f4b23
1 changed files with 8 additions and 0 deletions

View File

@ -371,6 +371,14 @@ class DataStore extends \WC_Data_Store_WP implements \WC_Object_Data_Store_Inter
$where_clauses .= " AND status IN ($escaped_status_types)";
}
/**
* Filter the notes WHERE clause before retrieving the data.
*
* Allows modification of the notes select criterial.
*
* @param string $where_clauses The generated WHERE clause.
* @param array $args The original arguments for the request.
*/
return apply_filters( 'wc_admin_notes_where_clauses', $where_clauses, $args );
}