I’m trying to use the slt_cf_get_posts_by_custom_first function to display a list of posts belonging to a custom post type, ordered by the field type ‘date’. I keep getting an error:
Warning: usort() expects parameter 1 to be array, object given in /home/homebake/public_html/wp-content/plugins/developers-custom-fields/slt-cf-lib.php on line 289.
Here is my code:
Am I going wrong somewhere?
- The topic ‘[Plugin: Developer's Custom Fields] error using slt_cf_get_posts_by_custom_first’ is closed to new replies.