WP_Customize_Nav_Menus::customize_dynamic_partial_args

Advertisement

Summery Summery

Filters arguments for dynamic nav_menu selective refresh partials.

Syntax Syntax

WP_Customize_Nav_Menus::customize_dynamic_partial_args( array|false $partial_args, string $partial_id )

Parameters Parameters

$partial_args

(array|false) (Required) Partial args.

$partial_id

(string) (Required) Partial ID.

Return Return

(array) Partial args.

Source Source

File: wp-includes/class-wp-customize-nav-menus.php

		</div>
		<?php
	}

	/**
	 * Print the markup for available menu item custom links.
	 *
	 * @since 4.7.0
	 *
	 * @return void
	 */
	protected function print_custom_links_available_menu_item() {
		?>
		<div id="new-custom-menu-item" class="accordion-section">
			<h4 class="accordion-section-title" role="presentation">
				<?php _e( 'Custom Links' ); ?>
				<button type="button" class="button-link" aria-expanded="false">
					<span class="screen-reader-text"><?php _e( 'Toggle section: Custom Links' ); ?></span>
					<span class="toggle-indicator" aria-hidden="true"></span>
				</button>

Advertisement

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?