コード例 #1
0
ファイル: class-vc-mapper.php プロジェクト: verbazend/AWFA
	/**
	 * Include params list objects and calls all stored activity methods.
	 *
	 * @since  4.2
	 * @access public
	 */
	public function init() {
		do_action('vc_mapper_init_before');
		require_once vc_path_dir( 'PARAMS_DIR', 'load.php' );
		WPBMap::setInit();
		require_once vc_path_dir( 'CONFIG_DIR', 'map.php' );
		$this->callActivities();
		do_action('vc_mapper_init_after');
	}
コード例 #2
0
ファイル: mapper.php プロジェクト: Alderx/publioriente
 public function onWpInit()
 {
     WPBMap::setInit();
     vc_map_default_shortcodes();
     $this->callActivities();
 }