xmlrpc_call, wp.getPost, $args, $this

xmlrpc_call, wp.getPost, $args, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

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

  • /wp-includes/class-wp-xmlrpc-server.php line 1948
    			return $this->error;
    		}
    
    		/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    		do_action( 'xmlrpc_call', 'wp.getPost', $args, $this );
    
    		$post = get_post( $post_id, ARRAY_A );
    
    		if ( empty( $post['ID'] ) ) {
    			return new IXR_Error( 404, __( 'Invalid post ID.' ) );
    		}