xmlrpc_call, wp.getPage, $args, $this

xmlrpc_call, wp.getPage, $args, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('xmlrpc_call, wp.getPage, $args, $this') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 3006
    			return new IXR_Error( 401, __( 'Sorry, you are not allowed to edit this page.' ) );
    		}
    
    		/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    		do_action( 'xmlrpc_call', 'wp.getPage', $args, $this );
    
    		// If we found the page then format the data.
    		if ( $page->ID && ( 'page' === $page->post_type ) ) {
    			return $this->_prepare_page( $page );
    		} else {
    			// If the page doesn't exist, indicate that.