jetpack_widget_top_posts_after_fields
Add explanation about how the statistics are calculated.
Description
Parameters (1)
- 0. $array (callback) =>
array( $this, 'stats_explanation' )
- The array.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'jetpack_widget_top_posts_after_fields', $array );
- The following example is for adding a hook callback.
- // define the jetpack_widget_top_posts_after_fields callback
- function action_jetpack_widget_top_posts_after_fields( $array ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'jetpack_widget_top_posts_after_fields', 'action_jetpack_widget_top_posts_after_fields', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'jetpack_widget_top_posts_after_fields', 'action_jetpack_widget_top_posts_after_fields', 10, 1 );
Defined (2)
The action is defined in the following location(s).
- /modules/widgets/top-posts.php
- add_action( 'jetpack_widget_top_posts_after_fields', array( $this, 'stats_explanation' ) );
- do_action( 'jetpack_widget_top_posts_after_fields', array( $instance, $this ) );