Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'wp_head', array( &$this, 'addMetaData' ) );
- function removeAddMetaData() {
- $vc = new Vc_Base();
- remove_action('wp_head', array(&$vc, 'addMetaData'),10000);
- }
- add_action('init', 'removeAddMetaData', 10000);
- function removeAddMetaData() {
- remove_action('wp_head', array(visual_composer(), 'addMetaData'));
- }
- add_action('init', 'removeAddMetaData');
- return vc_manager()->vc();
- $vc = new Vc_Base();
- $this->factory['vc'] = $vc;
- return $this->factory['vc'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement