widget_logic_allowed_functions is not supporting basic functions
-
The changes in Widget Logic v.6.0.6 applying a filter to allow some function only to be used in Widget Logic field is not supporting the full spectrum of conditional function offered by WordPress.
A lot have noted the absence of is_tree, but it is also missing most of the custom post type, taxonomy and post_format offered via register in WordPress.
To the default array of widget_logic_allowed_functions should be added:
is_tax, is_post_type_archive, has_post_format, is_singular, has_category, in_category
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘widget_logic_allowed_functions is not supporting basic functions’ is closed to new replies.