LLMS_PlayNice::plugins_loaded()
Conditionally add hooks after the other plugin is loaded.
Contents
Return Return
(void)
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' ) );
}
}
Expand full source code Collapse full source code View on GitHub
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. |