You can simply remove the old function using remove_action()
hook, and add your own using add_action()
hook.
Example –
remove_action('wp_footer', 'jfb_output_facebook_init');
add_action('wp_footer', 'your_function');
You can simply remove the old function using remove_action()
hook, and add your own using add_action()
hook.
Example –
remove_action('wp_footer', 'jfb_output_facebook_init');
add_action('wp_footer', 'your_function');