Complete the code to remove an action hook in WordPress.
remove_action('init', '[1]');
To remove an action hook, you specify the hook name and the callback function you want to remove. Here, my_custom_function is the callback attached to the 'init' hook.
Complete the code to remove a filter hook in WordPress.
remove_filter('the_content', '[1]');
The second parameter is the callback function name that was originally added to the filter hook 'the_content'.
Fix the error in this code that tries to remove an action hook with priority 10.
remove_action('wp_footer', '[1]', 10);
The second parameter must be the exact callback function name that was added to the 'wp_footer' hook with priority 10.
Fill both blanks to correctly remove a filter with a specific priority.
remove_filter('[1]', '[2]', 15);
The first blank is the filter hook name, and the second blank is the callback function name that was added with priority 15.
Fill all three blanks to remove an action hook with a custom priority and function name.
remove_action('[1]', '[2]', [3]);
The first blank is the hook name, the second is the callback function name, and the third is the priority number used when adding the action.