Warning: This method has been deprecated. No longer required based on the usage of wc_account_endpoint_page_not_found() instead.

LLMS_PlayNice::wc_is_account_page( bool $is_acct_page )

Allow our dashboard endpoints sharing a query var with WC to function


Description Description

Lie to WC and tell it we’re on a WC account page when accessing endpoints which share a query var with WC.


Top ↑

Parameters Parameters

$is_acct_page

(bool) (Required) False from woocommerce_is_account_page filter.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/class.llms.playnice.php

	 * @since 3.19.6 Unknown.
	 * @since 4.0.0 Removed inclusion of removed 'class.llms.person.php' file.
	 * @since 5.0.0 Remove inclusion of removed files:
	 *                    + forms/frontend/class.llms.frontend.forms.php
	 *                    + forms/frontend/class.llms.frontend.password.php
	 * @since 6.0.0 Removed loading of class files that don't instantiate their class in favor of autoloading.
	 *
	 * @return void
	 */
	public function wp_optimizepress_live_editor() {


Top ↑

Changelog Changelog

Changelog
Version Description
3.37.17 No longer required based on the usage of wc_account_endpoint_page_not_found().
3.31.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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