This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Astra_Customizer_Notices_Configs::get_help_text_notice( String $context )
Help notice message to be displayed when the page that is being previewed has header built using Custom Layout.
Description
Parameters
- $context
-
(String) (Required) Type of notice message to be returned.
Return
(String) HTML Markup for the help notice.
Source
File: classes/customizer/class-astra-customizer-notices-configs.php
private function get_help_text_notice( $context ) { switch ( $context ) { case 'custom-header': $notice = '<div class="ast-customizer-notice wp-ui-highlight"><p>The header on the page you are previewing is built using Custom Layouts. Options given below will not work here.</p><p> <a href="' . $this->get_custom_layout_edit_link() . '" target="_blank">Click here</a> to modify the header on this page.<p></div>'; break; default: $notice = ''; break; } return $notice; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.4.0 | Introduced. |