Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( ! function_exists( 'nevia_child_setup' ) ) :
- function nevia_child_setup() {
- require( get_stylesheet_directory() . '/inc/shortcodes.php' );
- }
- endif;
- add_action( 'after_setup_theme', 'nevia_child_setup' );
- function shortcode_cleaner() {
- remove_shortcode( 'recent_blog_carousel' );
- add_shortcode( 'recent_blog_carousel', 'pp_recent_blog_carousel_child' );
- }
- add_action( 'init', 'shortcode_cleaner' );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement