Custom Rules not working on front-end
-
Hello,
I have installed Wishlist Member, and used this code https://www.ads-software.com/support/topic/custom-conditions-for-wishlist-member-levels/ with a couple of modifications to make it work without error in admin panel.
My problem is the exact thing the post above is having, on front-end the condition parameter I’ve set is returning 1, but IF Menu doesn’t seem to recognize it and doesn’t SHOW the menu items when parameter is true.
I found this in error.log:
PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in <root-dir>/wp-content/plugins/if-menu/if-menu.php on line 106I’m using the latest version of the plugin.
Help please?
thanks,
Froi
- The topic ‘Custom Rules not working on front-end’ is closed to new replies.