Remove_action in bp_template_content
-
Hi,
i try to remove the built-in general-settings Form and replace it with my own, but it didn’t work.
I don’t know if its the right way…
I hope for your help
my functions.php
if(bp_is_settings_component()) {
remove_action('bp_template_content', 'bp_core_screen_general_settings_content');
add_action('bp_template_content', 'load_custom_settings');
}
function load_custom_settings() {
include(TEMPLATEPATH . '/profile/settings/general.php');
}Jörn
- The topic ‘Remove_action in bp_template_content’ is closed to new replies.