Fix remove filter typo

This commit is contained in:
Max Rice 2014-01-13 22:13:37 -05:00
parent 69694e7a13
commit 497ec8186e
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ class WC_API_Orders extends WC_API_Resource {
'type' => 'order_note'
);
remove_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments', 10, 1 ) );
remove_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
$notes = get_comments( $args );