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.


Top ↑

Parameters Parameters

$is_page_not_found

(bool) (Required) True from woocommerce_account_endpoint_page_not_found filter.


Top ↑

Return Return

(bool)


Top ↑

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;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.37.17 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.