yst_ga_custom_dimension_add-dashboards-tab
The Google Analytics by Yoast yst ga custom dimension add dashboards tab hook.
Description
do_action( 'yst_ga_custom_dimension_add-dashboards-tab' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'yst_ga_custom_dimension_add-dashboards-tab' );
- The following example is for adding a hook callback.
- // define the yst_ga_custom_dimension_add-dashboards-tab callback
- function action_yst_ga_custom_dimension_add_dashboards_tab( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'yst_ga_custom_dimension_add-dashboards-tab', 'action_yst_ga_custom_dimension_add_dashboards_tab', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'yst_ga_custom_dimension_add-dashboards-tab', 'action_yst_ga_custom_dimension_add_dashboards_tab', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /admin/pages/dashboard.php
- do_action( 'yst_ga_custom_dimension_add-dashboards-tab' );