admin_footer_text
Filters the "Thank you" text displayed in the admin footer.
Description
Parameters (3)
- 0. $monsterinsights_admin_footer (string) =>
'monsterinsights_admin_footer'
- The monsterinsights admin footer.
- 1. $int (int) =>
1
- The int.
- 2. $int (int) =>
2
- The int.
Usage
- To run the hook, copy the example below.
- $monsterinsights_admin_footer = apply_filters( 'admin_footer_text', $monsterinsights_admin_footer, $int, $int );
- if ( !empty( $monsterinsights_admin_footer ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the admin_footer_text callback
- function filter_admin_footer_text( $monsterinsights_admin_footer, $int, $int ) {
- // make filter magic happen here...
- return $monsterinsights_admin_footer;
- };
- // add the filter
- add_filter( 'admin_footer_text', 'filter_admin_footer_text', 10, 3 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'admin_footer_text', 'filter_admin_footer_text', 10, 3 );
Defined (1)
The filter is defined in the following location(s).
- /includes/admin/admin.php
- add_filter( 'admin_footer_text', 'monsterinsights_admin_footer', 1, 2 );