yan-k
9/22/2017 - 8:30 AM

Remove Portfolio Functionality from Enfold

Remove Portfolio Functionality from Enfold

<?php
/**
 * Remove Portfolio Functionality from Enfold
 */
 
add_action('after_setup_theme', 'remove_portfolio');
function remove_portfolio() {
  remove_action('init', 'portfolio_register');
}