wp_footer
The Jetpack by WordPress.com wp footer hook.
Description
Parameters (1)
- 0. $array (callback) =>
array( $this, 'library' )
- The array.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'wp_footer', $array );
- The following example is for adding a hook callback.
- // define the wp_footer callback
- function action_wp_footer( $array ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'wp_footer', 'action_wp_footer', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'wp_footer', 'action_wp_footer', 10, 1 );
Defined (16)
The action is defined in the following location(s).
- /modules/widgets/twitter-timeline.php
- add_action( 'wp_footer', array( $this, 'library' ) );
- /modules/stats.php
- add_action( 'wp_footer', 'stats_footer', 101 );
- /modules/shortcodes/twitter-timeline.php
- add_action( 'wp_footer', 'twitter_timeline_js' );
- /modules/shortcodes/polldaddy.php
- add_action( 'wp_footer', array( $this, 'generate_scripts' ) );
- add_action( 'wp_footer', array( $this, 'generate_scripts' ) );
- /modules/shortcodes/googleplus.php
- add_action( 'wp_footer', 'jetpack_googleplus_add_script' );
- /modules/sharedaddy/sharing-service.php
- add_action( 'wp_footer', 'sharing_add_footer' );
- /modules/minileven/minileven.php
- add_action('wp_footer', 'jetpack_mobile_available');
- /modules/likes.php
- add_action( 'wp_footer', array( $this, 'likes_master' ), 21 );
- add_action( 'wp_footer', array( $this, 'likes_master' ), 21 );
- add_action( 'wp_footer', array( $this, 'likes_master' ), 21 );
- /modules/infinite-scroll/infinity.php
- add_action( 'wp_footer', array( $this, 'footer' ) );
- add_action( 'wp_footer', array( $this, 'action_wp_footer_settings' ), 2 );
- add_action( 'wp_footer', array( $this, 'action_wp_footer' ), 21 ); // Core prints footer scripts at priority 20, so we just need to be one later than that
- /modules/gravatar-hovercards.php
- add_action( 'wp_footer', 'grofiles_extra_data' );
- /modules/comments/comments.php
- add_action( 'wp_footer', array( $this, 'watch_comment_parent' ), 100 );