apply_filters( 'learndash_admin_tabs', array $admin_tabs )
Filters admin setting tabs.
Description #
Parameters #
- $admin_tabs
-
(array) An array of admin setting tabs data.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_admin_tabs filter.
*/
add_filter(
'learndash_admin_tabs',
function( $admin_tabs ) {
// May add any custom logic using $admin_tabs.
// Always return $admin_tabs.
return $admin_tabs;
}
);
Changelog #
| Version | Description |
|---|---|
| 2.4.0 | Introduced. |