yst_ga_dashboard_title
The Google Analytics by Yoast yst ga dashboard title hook.
Description
do_action( 'yst_ga_dashboard_title' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'yst_ga_dashboard_title' );
- The following example is for adding a hook callback.
- // define the yst_ga_dashboard_title callback
- function action_yst_ga_dashboard_title( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'yst_ga_dashboard_title', 'action_yst_ga_dashboard_title', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'yst_ga_dashboard_title', 'action_yst_ga_dashboard_title', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /admin/pages/dashboard.php
- <h2 id="yoast_ga_title"><?php echo __( 'Google Analytics by Yoast: ', 'google-analytics-for-wordpress' ) . __( 'Dashboard', 'google-analytics-for-wordpress' ); ?> <?php do_action( 'yst_ga_dashboard_title' ); ?></h2>