Description
The “pop_allow_page_view” filter is used allow or disallow page view counts on current page.
A plugin (or theme) can modify value with the code:
<?php add_filter( 'pop_allow_page_view', 'filter_function_name' ); ?>
The hook is located in the popular-widget/_inc/functions.php file.
Example
// Apply filter function modify_pop_allow_page_view( $bool ) { return true; //allow view count } add_filter('pop_allow_page_view', 'modify_pop_allow_page_view');
Note: $bool is an boolean value.
Leave a Reply