Conditionally add hooks after the other plugin is loaded.

Return Return


Top ↑

Source Source

File: includes/class.llms.playnice.php

	public function plugins_loaded() {

		$wc_exists = function_exists( 'WC' );

		if ( $wc_exists ) {
			add_filter( 'woocommerce_account_endpoint_page_not_found', array( $this, 'wc_account_endpoint_page_not_found' ) );


Top ↑

Changelog Changelog

Version Description
4.0.0 Remove Divi Frontend Builder WC conflict code.
3.37.18 Add fix for Divi Frontend-Builder WC conflict.
3.37.17 Changed the way we handle endpoints conflict, using a different WC filter hook.
3.31.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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