Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Use filter ‘widget_options_logic_override’ to create logic?

$
0
0

Replies: 0

Hi,
Is there anyone who used the widget_options_logic_override filter in order to create widget logic? Is there some documentation on this?
I’ve found the filter in includes/widgets/display.php and trying to do something with the function below (just for testing), but nothing happening:

function cc_widget_logic( $display_logic ) {
print_r ($display_logic); 
}
add_filter( 'widget_options_logic_override', 'cc_widget_logic', 10, 1 );

Anyone? Thanks!

  • This topic was modified 1 minute ago by wzshop.

Viewing all articles
Browse latest Browse all 59525

Trending Articles