wphooks.info - xmlrpc_methods

xmlrpc_methods

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/class-wp-xmlrpc-server.php:
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
		/**
		 * Filters the methods exposed by the XML-RPC server.
		 *
		 * This filter can be used to add new methods, and remove built-in methods.
		 *
		 * @since 1.5.0
		 *
		 * @param array $methods An array of XML-RPC methods.
		 */
		$this->methods = apply_filters( 'xmlrpc_methods', $this->methods );
	}

	/**
	 * Make private/protected methods readable for backward compatibility.
	 *
	 * @since 4.0.0
	 *
	 * @param string   $name      Method to call.
	 * @param array    $arguments Arguments to pass when calling.