public_html/wp-content/plugins/js_composer/include/autoload/vc-settings-presets.php
/**
 * Include settings preset class
 *
 * Also check if user has 'edit_posts' capability and if not, respond with unsuccessful status
 *
 * @since 4.8
 */
Include settings preset class
Also check if user has 'edit_posts' capability and if not, respond with unsuccessful status


Include settings preset class Also check if user has ' edit_posts ' capability and if not respond with unsuccessful status
function vc_include_settings_preset_class() {
	if ( ! vc_verify_admin_nonce() || ( ! current_user_can( 'edit_posts' ) && ! current_user_can( 'edit_pages' ) ) ) {
		wp_send_json( array(
			'success' => false
		) );
	}
	require_once vc_path_dir( 'AUTOLOAD_DIR', 'class-vc-settings-presets.php' );
}
function vc_include_settings_preset_class ( ) { if ( ! vc_verify_admin_nonce ( ) || ( ! current_user_can ( 'edit_posts' ) && ! current_user_can ( 'edit_pages' ) ) ) { wp_send_json ( array ( 'success' => false ) ) ; } require_once vc_path_dir ( 'AUTOLOAD_DIR' , 'class-vc-settings-presets.php' ) ; }
Include settings preset class
 Also check if user has 'edit_posts' capability and if not, respond with unsuccessful status
Include settings preset class Also check if user has ' edit_posts ' capability and if not respond with unsuccessful status