jetpack_comments_loaded
Fires after the Jetpack_Comments object has been instantiated.
Description
Parameters (1)
- 0. $array (array) =>
array( $this )
- First element in array of type Jetpack_Comments
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'jetpack_comments_loaded', $array );
- The following example is for adding a hook callback.
- // define the jetpack_comments_loaded callback
- function action_jetpack_comments_loaded( $array ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'jetpack_comments_loaded', 'action_jetpack_comments_loaded', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'jetpack_comments_loaded', 'action_jetpack_comments_loaded', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /modules/comments/comments.php
- do_action_ref_array( 'jetpack_comments_loaded', array( $this ) );