Filter by type:
Search
Skip to content
Browse: Home / Classes / Astra_Ext_Header_Account_Component_Configs / Astra_Ext_Header_Account_Component_Configs::get_help_text_notice()

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_Ext_Header_Account_Component_Configs::get_help_text_notice()

Help notice message to be displayed when the Link type set as Menu.


Description


Return

(String) HTML Markup for the help notice.


Source

File: classes/builder/type/header/account/class-astra-ext-header-account-component-configs.php

	private function get_help_text_notice() {

		if ( class_exists( 'WooCommerce' ) ) {
			$notice = __( '<b>Note:</b> For responsive devices, the menu will be replaced with the WooCommerce "My Account" link.', 'astra-addon' );
		} elseif ( class_exists( 'LifterLMS' ) ) {
			$notice = __( '<b>Note:</b> For responsive devices, the menu will be replaced with the LifterLMS "My Account" link.', 'astra-addon' );
		} else {
			$notice = __( '<b>Note:</b> For responsive devices, the menu will be replaced with the Link provided in the Link Tab.', 'astra-addon' );
		}

		return $notice;
	}

Expand full source code Collapse full source code View on Trac


Changelog

Changelog
Version Description
3.5.9 Introduced.

Related

Used By

Used By
Used By Description
classes/builder/type/header/account/class-astra-ext-header-account-component-configs.php: Astra_Ext_Header_Account_Component_Configs::register_configuration()

Register Builder Customizer Configurations.


User Contributed Notes

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