source/php/Options/General.php
public function metaBoxTemplateAreas()
    {
	global $wp_registered_sidebars;
	global $modularityOptions;

	usort($wp_registered_sidebars, function ($a, $b) {
	    return $a['name'] > $b['name'];
	});

	$coreTemplates = \Modularity\Helper\Wp::getCoreTemplates();
	$coreTemplates = apply_filters('Modularity/CoreTemplatesInTheme', $coreTemplates);
	$customTemplates = get_page_templates();
	$templates = array_merge($coreTemplates, $customTemplates);

	include MODULARITY_TEMPLATE_PATH . 'options/partials/modularity-template-areas.php';
    }
public function metaBoxTemplateAreas()
    {
	global $wp_registered_sidebars;
	global $modularityOptions;

	usort($wp_registered_sidebars, function ($a, $b) {
	    return $a['name'] > $b['name'];
	});

	$coreTemplates = \Modularity\Helper\Wp::getCoreTemplates();
	$coreTemplates = apply_filters('Modularity/CoreTemplatesInTheme', $coreTemplates);
	$customTemplates = get_page_templates();
	$templates = array_merge($coreTemplates, $customTemplates);

	include MODULARITY_TEMPLATE_PATH . 'options/partials/modularity-template-areas.php';
    }
public function metaBoxTemplateAreas ( ) { global $ wp_registered_sidebars ; global $ modularityOptions ; usort ( $ wp_registered_sidebars , function ( $ a , $ b ) { return $ a [ 'name' ] > $ b [ 'name' ] ; } ) ; $ coreTemplates = \ Modularity \ Helper \ Wp :: getCoreTemplates ( ) ; $ coreTemplates = apply_filters ( 'Modularity/CoreTemplatesInTheme' , $ coreTemplates ) ; $ customTemplates = get_page_templates ( ) ; $ templates = array_merge ( $ coreTemplates , $ customTemplates ) ; include MODULARITY_TEMPLATE_PATH . 'options/partials/modularity-template-areas.php' ; }
Template areas meta box
@return void
Template areas meta box