Browse: Home / Hooks /

learndash_header_buttons

apply_filters( 'learndash_header_buttons',  array{text: ,  string $menu_tab_key,  string $screen_post_type )

Filters admin settings header buttons shown before the Actions dropdown.


Description #


Parameters #

(array{text:) string, href?: string, target?: string, data?: array<int|string,mixed>[], class?: string}[] $buttons An array of header button arrays.

$menu_tab_key

(string) Menu tab key.

$screen_post_type

(string) Screen post type slug.


Return #

(array{text:) string, href?: string, target?: string, data?: array<int|string,mixed>, class?: string}[]


Source #

File: includes/admin/class-learndash-admin-menus-tabs.php


Changelog #

Changelog
Version Description
4.17.0 Introduced.