xmlrpc_call, wp.getPostType, $args, $this

xmlrpc_call, wp.getPostType, $args, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

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

  • /wp-includes/class-wp-xmlrpc-server.php line 4586
    			return $this->error;
    		}
    
    		/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    		do_action( 'xmlrpc_call', 'wp.getPostType', $args, $this );
    
    		if ( ! post_type_exists( $post_type_name ) ) {
    			return new IXR_Error( 403, __( 'Invalid post type.' ) );
    		}
    
    		$post_type = get_post_type_object( $post_type_name );