Created
February 28, 2022 11:55
-
-
Save humayunahmed8/eb9d2ae0a6235d2e96c462f242f8e831 to your computer and use it in GitHub Desktop.
Remove existing function from main theme and redeclare function in child theme
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
<?php | |
// Remove tgmpa function from main theme and redeclare the function in child theme | |
function remove_content_filter() { | |
remove_filter( 'tgmpa_register', 'themeplace_register_required_plugins' ); | |
} | |
add_action( 'after_setup_theme', 'remove_content_filter' ); |
Author
humayunahmed8
commented
Feb 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment