public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php
/**
	 * Call all stored activities.
	 *
	 * Called by init method. List of activities stored by $init_activity are created by other objects called after
	 * initialization.
	 *
	 * @since  4.2
	 * @access public
	 */
Call all stored activities.
Called by init method. List of activities stored by $init_activity are created by other objects called after
initialization.


Call all stored activities . Called by init method . List of activities stored by $init_activity are created by other objects called after initialization .
protected function callActivities() {
		do_action( 'vc_mapper_call_activities_before' );
		while ( $activity = each( $this->init_activity ) ) {
			list( $object, $method, $params ) = $activity[1];
			if ( $object === 'mapper' ) {
				switch ( $method ) {
					case 'map':
						WPBMap::map( $params['tag'], $params['attributes'] );
						break;
					case 'drop_param':
						WPBMap::dropParam( $params['name'], $params['attribute_name'] );
						break;
					case 'add_param':
						WPBMap::addParam( $params['name'], $params['attribute'] );
						break;
					case 'mutate_param':
						WPBMap::mutateParam( $params['name'], $params['attribute'] );
						break;
					case 'drop_all_shortcodes':
						WPBMap::dropAllShortcodes();
						break;
					case 'drop_shortcode':
						WPBMap::dropShortcode( $params['name'] );
						break;
					case 'modify':
						WPBMap::modify( $params['name'], $params['setting_name'], $params['value'] );
						break;
				}
			}
		}
	}
protected function callActivities ( ) { do_action ( 'vc_mapper_call_activities_before' ) ; while ( $ activity = each ( $ this -> init_activity ) ) { list ( $ object , $ method , $ params ) = $ activity [ 1 ] ; if ( $ object === 'mapper' ) { switch ( $ method ) { case 'map' : WPBMap :: map ( $ params [ 'tag' ] , $ params [ 'attributes' ] ) ; break ; case 'drop_param' : WPBMap :: dropParam ( $ params [ 'name' ] , $ params [ 'attribute_name' ] ) ; break ; case 'add_param' : WPBMap :: addParam ( $ params [ 'name' ] , $ params [ 'attribute' ] ) ; break ; case 'mutate_param' : WPBMap :: mutateParam ( $ params [ 'name' ] , $ params [ 'attribute' ] ) ; break ; case 'drop_all_shortcodes' : WPBMap :: dropAllShortcodes ( ) ; break ; case 'drop_shortcode' : WPBMap :: dropShortcode ( $ params [ 'name' ] ) ; break ; case 'modify' : WPBMap :: modify ( $ params [ 'name' ] , $ params [ 'setting_name' ] , $ params [ 'value' ] ) ; break ; } } } }
Call all stored activities.
Call all stored activities .