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_Site_Identity_Configs::get_help_text_notice( String $context )

Help notice message to be displayed when the page that is being previewed has Logo set from Transparent Header.


Description


Parameters

$context

(String) (Required) Type of notice message to be returned.


Return

(String) HTML Markup for the help notice.


Source

File: inc/customizer/configurations/layout/class-astra-site-identity-configs.php

		private function get_help_text_notice( $context ) {

			switch ( $context ) {
				case 'transparent-header':
					$notice = '<div class="ast-customizer-notice wp-ui-highlight"><p>The Logo on this page is set from the Transparent Header Section. Please click the link below to customize Transparent Header Logo.</p></div>';
					break;
				case 'transparent-meta':
					$notice = '<div class="ast-customizer-notice wp-ui-highlight"><p>The header on this page is set from the Transparent Header.</p> <p> Please click the link below to customize Transparent Header </p></div>';
					break;
				default:
					$notice = '';
			}
			return $notice;
		}

Changelog

Changelog
Version Description
2.4.5 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.