xmlrpc_call, wp.deletePost, $args, $this

xmlrpc_call, wp.deletePost, $args, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

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

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