Automattic\WooCommerce\Internal\MCP
MCPAdapterProvider::is_mcp_request
Deprecated since 11.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Formerly reported whether the current request was for the WooCommerce MCP endpoint.
Method of the class: MCPAdapterProvider{}
No Hooks.
Returns
bool. Always false.
Usage
$result = MCPAdapterProvider::is_mcp_request(): bool;
Changelog
| Deprecated since | 11.3.0 |
MCPAdapterProvider::is_mcp_request() MCPAdapterProvider::is mcp request code WC 11.3.0
public static function is_mcp_request(): bool {
McpEndpointRemoval::doing_it_wrong( __METHOD__ );
return false;
}