Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. add_action( 'vc_before_init', 'dt_disable_vc' );
  2. function dt_disable_vc() {
  3. if(function_exists('vc_set_as_theme')) {
  4. vc_set_as_theme($disable_updater = true);
  5. }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement