Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: xmlrpc_enabled

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
209            *     add_filter( 'xmlrpc_enabled', '__return_false' );
210            *
211            * For more granular control over all XML-RPC methods and requests, see the {@see 'xmlrpc_methods'}
212            * and {@see 'xmlrpc_element_limit'} hooks.
213            *
214            * @since 3.5.0
215            *
216            * @param bool $is_enabled Whether XML-RPC is enabled. Default true.
217            */
218           $this->is_enabled = apply_filters( 'xmlrpc_enabled', $is_enabled );
219      }
220
221      /**
222       * Make private/protected methods readable for backward compatibility.
223       *
224       * @since 4.0.0
225       *
226       * @param string $name      Method to call.
227       * @param array  $arguments Arguments to pass when calling.