Created
May 24, 2017 08:24
-
-
Save anonymous/8342fddf30231ce1013fd18a0cf88b47 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
/** | |
* [mediclean_pro_child_custom_slider_placement Changing the main slider placement ] | |
* @return [type] [NULL] | |
*/ | |
function mediclean_pro_child_custom_slider_placement() { | |
// Add slider to the theme. | |
remove_action( 'mediclean_action_before_content', 'mediclean_add_featured_slider', 5 ); | |
// Add slider to the theme. | |
add_action( 'mediclean_action_after_content', 'mediclean_add_featured_slider', 15 ); | |
} | |
add_action( 'init', 'mediclean_pro_child_custom_slider_placement' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment