wp_footer

The Jetpack by WordPress.com wp footer hook.

Description

add_action( 'wp_footer', (callback) $array ); 

Parameters (1)

0. $array (callback) => array( $this, 'library' )
The array.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'wp_footer', $array ); 
The following example is for adding a hook callback.
  1. // define the wp_footer callback 
  2. function action_wp_footer( $array ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'wp_footer', 'action_wp_footer', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. 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  
  1. add_action( 'wp_footer', array( $this, 'library' ) ); 
/modules/stats.php  
  1. add_action( 'wp_footer', 'stats_footer', 101 ); 
/modules/shortcodes/twitter-timeline.php  
  1. add_action( 'wp_footer', 'twitter_timeline_js' ); 
/modules/shortcodes/polldaddy.php  
  1. add_action( 'wp_footer', array( $this, 'generate_scripts' ) ); 
  1. add_action( 'wp_footer', array( $this, 'generate_scripts' ) ); 
/modules/shortcodes/googleplus.php  
  1. add_action( 'wp_footer', 'jetpack_googleplus_add_script' ); 
/modules/sharedaddy/sharing-service.php  
  1. add_action( 'wp_footer', 'sharing_add_footer' ); 
/modules/minileven/minileven.php  
  1. add_action('wp_footer', 'jetpack_mobile_available'); 
/modules/likes.php  
  1. add_action( 'wp_footer', array( $this, 'likes_master' ), 21 ); 
  1. add_action( 'wp_footer', array( $this, 'likes_master' ), 21 ); 
  1. add_action( 'wp_footer', array( $this, 'likes_master' ), 21 ); 
/modules/infinite-scroll/infinity.php  
  1. add_action( 'wp_footer', array( $this, 'footer' ) ); 
  1. add_action( 'wp_footer', array( $this, 'action_wp_footer_settings' ), 2 ); 
  1. 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  
  1. add_action( 'wp_footer', 'grofiles_extra_data' ); 
/modules/comments/comments.php  
  1. add_action( 'wp_footer', array( $this, 'watch_comment_parent' ), 100 );