web/wp-content/plugins/caldera-forms-pro-wp-client/bootstrap-cf-pro.php
/**
 * Rewrite the options to not autoload
 *
 * @since 0.8.1
 */
Rewrite the options to not autoload
@since 0.8.1
Rewrite the options to not autoload @since 0 . 8 . 1
function caldera_forms_pro_db_delta_2(){
	$forms = Caldera_Forms_Forms::get_forms(false);
	if( ! empty( $forms ) ){
		array_walk( $forms, function( $id ){
			return '_cf_pro_' . caldera_forms_very_safe_string( $id );
		});
		$where = '`option_name` = "' . implode( '" OR `option_name` = "', array_keys( $forms ) ) . '"';
		global $wpdb;
		$sql = sprintf( "UPDATE `%s` SET `autoload`='no' WHERE %s", $wpdb->options, $where );
		$wpdb->get_results( $sql  );
	}
}
function caldera_forms_pro_db_delta_2 ( ) { $ forms = Caldera_Forms_Forms :: get_forms ( false ) ; if ( ! empty ( $ forms ) ) { array_walk ( $ forms , function ( $ id ) { return '_cf_pro_' . caldera_forms_very_safe_string ( $ id ) ; } ) ; $ where = '`option_name` = "' . implode ( '" OR `option_name` = "' , array_keys ( $ forms ) ) . '"' ; global $ wpdb ; $ sql = sprintf ( " UPDATE `%s` SET `autoload`='no' WHERE %s " , $ wpdb -> options , $ where ) ; $ wpdb -> get_results ( $ sql ) ; } }
Rewrite the options to not autoload
 @since 0.8.1
Rewrite the options to not autoload @since 0 . 8 . 1
//set options storage to be not autoloaded