WP_Customize_Nav_Menus_Panel::check_capabilities(): bool

In this article

Checks required user capabilities and whether the theme has the feature support required by the panel.

Return

bool False if theme doesn’t support the panel or the user doesn’t have the capability.

Source

		<?php
		// NOTE: The following is a workaround for an inability to treat (and thus label) a list of sections as a whole.
		?>
		<li class="customize-control-title customize-section-title-nav_menus-heading"><?php _e( 'Menus' ); ?></li>
		<?php
	}
}

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

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