File "_presets.tpl.php"

Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/js_composer/include/templates/pages/partials/vc-roles-parts/_presets.tpl.php
File size: 770 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}
vc_include_template( 'pages/partials/vc-roles-parts/_part.tpl.php', array(
	'part' => $part,
	'role' => $role,
	'params_prefix' => 'vc_roles[' . $role . '][' . $part . ']',
	'controller' => vc_role_access()->who( $role )->part( $part ),
	'options' => array(
		array( true, esc_html__( 'All', 'js_composer' ) ),
		array( 'add', esc_html__( 'Apply presets only', 'js_composer' ) ),
		array( false, esc_html__( 'Disabled', 'js_composer' ) ),
	),
	'main_label' => esc_html__( 'Element Presets', 'js_composer' ),
	'description' => esc_html__( 'Control access rights to element presets in element edit form. Note: "Apply presets only" restricts users from saving new presets and deleting existing.', 'js_composer' ),
) );