Created
July 23, 2018 11:14
-
-
Save FinalDestiny/119a6453573fb0d188f3e066c0f04105 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fwportfolio_module_setup() { | |
get_template_part( 'modules/FullwidthPortfolio' ); remove_shortcode( 'et_pb_fullwidth_portfolio' ); | |
add_shortcode( 'et_pb_fullwidth_portfolio', array( new Cu_ET_Builder_Module_Fullwidth_Portfolio(), '_shortcode_callback' ) ); | |
} | |
add_action( 'et_builder_ready', 'fwportfolio_module_setup' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment