WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
212 | * add_filter( 'xmlrpc_enabled', '__return_false' ); |
213 | * |
214 | * For more granular control over all XML-RPC methods and requests, see the {@see 'xmlrpc_methods'} |
215 | * and {@see 'xmlrpc_element_limit'} hooks. |
216 | * |
217 | * @since 3.5.0 |
218 | * |
219 | * @param bool $is_enabled Whether XML-RPC is enabled. Default true. |
220 | */ |
221 | $this->is_enabled = apply_filters( 'xmlrpc_enabled', $is_enabled ); |
222 | } |
223 |
|
224 | /** |
225 | * Makes private/protected methods readable for backward compatibility. |
226 | * |
227 | * @since 4.0.0 |
228 | * |
229 | * @param string $name Method to call. |
230 | * @param array $arguments Arguments to pass when calling. |