Description
The “pop_after_set_pos_view” action runs after view count function has run.
A plugin (or theme) can add an action with the code:
<?php add_action( 'pop_after_set_pos_view', 'filter_function_name'); ?>
The hook is located in the popular-widget/_inc/functions.php file.
Example
// apply action function action_pop_after_set_pos_view( $instance, $number ) { //run action here } add_action('pop_after_set_pos_view', 'action_pop_after_set_pos_view');
Note: $instance is the widget object, $number is an integer.
Leave a Reply