LLMS_PlayNice::wc_account_endpoint_page_not_found( bool $is_page_not_found )
Allow our dashboard endpoints sharing a query var with WC to function
Description Description
Inform WC that it should not force a 404 because we’re on a valid endpoint.
Parameters Parameters
- $is_page_not_found
-
(bool) (Required) True from
woocommerce_account_endpoint_page_not_found
filter.
Return Return
(bool)
Source Source
File: includes/class.llms.playnice.php
public function wc_account_endpoint_page_not_found( $is_page_not_found ) { if ( is_llms_account_page() && is_wc_endpoint_url() ) { $is_page_not_found = false; } return $is_page_not_found; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.17 | Introduced. |