Astra_Ext_Advanced_Headers_Loader::ast_advanced_admin_top_header()
HTML Template for custom layout header preview.
Description
Source
File: addons/advanced-headers/classes/class-astra-ext-advanced-headers-loader.php
public function ast_advanced_admin_top_header() {
$screen = get_current_screen();
global $pagenow;
if ( 'astra_adv_header' === $screen->post_type && 'edit.php' === $pagenow ) {
$title = __( 'Page Headers', 'astra-addon' );
$tabs = false;
$button_url = '/post-new.php?post_type=astra_adv_header';
$kb_docs_url = 'https://wpastra.com/docs-category/astra-pro-modules/page-headers/?utm_source=wp&utm_medium=dashboard';
Astra_Addon_Admin_Loader::admin_dashboard_header( $title, $tabs, $button_url, $kb_docs_url );
}
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |