Astra_Ext_Advanced_Hooks_Loader::ast_advanced_admin_top_header()
HTML Template for custom layout header preview.
Description
Source
File: addons/advanced-hooks/classes/class-astra-ext-advanced-hooks-loader.php
public function ast_advanced_admin_top_header() { $screen = get_current_screen(); global $pagenow; if ( ASTRA_ADVANCED_HOOKS_POST_TYPE === $screen->post_type && 'edit.php' === $pagenow ) { $title = __( 'Custom Layouts', 'astra-addon' ); $tabs = true; $button_url = '/post-new.php?post_type=astra-advanced-hook'; $kb_docs_url = 'https://wpastra.com/docs-category/astra-pro-modules/custom-layouts-module/?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. |