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