You appear to be a bot. Output may be restricted
Description
Removes a function from a specified action hook.
This function removes a function attached to a specified action hook. This method can be used to remove default functions attached to a specific filter hook and possibly replace them with a substitute.
Usage
$bool = remove_action( $tag, $function_to_remove, $priority );
Parameters
- $tag
- ( string ) required – The action hook to which the function to be removed is hooked.
- $function_to_remove
- ( callable ) required – The name of the function which should be removed.
- $priority
- ( int ) optional default: 10 – Optional. The priority of the function. Default 10.
Returns
bool Whether the function is removed.
Source
File name: wordpress/wp-includes/plugin.php
Lines:
1 to 3 of 3
function remove_action( $tag, $function_to_remove, $priority = 10 ) { return remove_filter( $tag, $function_to_remove, $priority ); }