apply_filters( 'learndash_admin_tab_sets', array $admin_tab_sets, string $menu_tab_key, string $current_page_id )
Filters current admin tab set.
Description #
Parameters #
- $admin_tab_sets
-
(array) An array of admin tab sets data.
- $menu_tab_key
-
(string) The menu tab key.
- $current_page_id
-
(string) The current page id.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_admin_tab_sets filter. */ add_filter( 'learndash_admin_tab_sets', function( $admin_tab_sets ) { // May add any custom logic using $admin_tab_sets. // Always return $admin_tab_sets. return $admin_tab_sets; } );
Changelog #
Version | Description |
---|---|
2.5.0 | Introduced. |