interzone2
Forum Replies Created
-
Temporary fix for it is in learnpress.php file in plugin root folder.
Change: add_action( ‘init’, array( $this, ‘plugins_loaded’ ), – 10 );
To: add_action( ‘plugins_loaded’, array( $this, ‘plugins_loaded’ ), – 10 );This is line 526 in 4.2.7.4
——–
The Difference Between init and plugins_loaded
1. plugins_loaded
• This hook is triggered after all plugins have been loaded but before init.
• It is often used to initialize plugin functionality or to load plugin-specific classes, functions, and hooks.
• Plugins generally hook into plugins_loaded when they depend on other plugins being fully loaded or need to set up global functionality.
2. init
• This hook is triggered after WordPress has finished loading all active plugins and after plugins_loaded.
• It’s typically used for registering post types, taxonomies, and other WordPress-specific functionalities that require WordPress core and all plugins to be initialized.
- This reply was modified 1 year, 4 months ago by interzone2.
Same problem here, everything was working and now it just stopped working.
Reverting back to 4.2.7.3 fixed the issue, but it’s unsustainable. So there is something that happened in update 4.2.7.4 that brakes it.
- This reply was modified 1 year, 4 months ago by interzone2.
Forum: Plugins
In reply to: [Stock Locations for WooCommerce] Don’t see locations under edit product pageHere you go – https://imgur.com/a/fDHkE7a
Forum: Plugins
In reply to: [Stock Locations for WooCommerce] Don’t see locations under edit product pageThey are there and enabled, but still don’t see them. Here is screenshot – https://imgur.com/a/008v5hn
Forum: Plugins
In reply to: [Stock Locations for WooCommerce] Don’t see locations under edit product pageThat’s the thing I’m talking about, I don’t have location box there and I don’t have them in Screen Options either 🙂
Forum: Plugins
In reply to: [Stock Locations for WooCommerce] Don’t see locations under edit product pageTrack stock is enabled under Invetory on product edit page. Locations are not shown as on your screenshot. If I open Stock Location tab on edit product page, I get “You need to add a stock location to this product.”
Here are screenshots – https://imgur.com/a/dt9AdEw
Forum: Plugins
In reply to: [Stock Locations for WooCommerce] Don’t see locations under edit product pageI tried to check everything on settings page, and still nothing. Can you specificy the setting you’re reffering?
Forum: Plugins
In reply to: [WooCommerce] /?wc-ajax=get_refreshed_fragmentsI see, but the problem seems to be in WooCommerce last update. Here is workaround for fixing the URL temporarily.
add_action( 'woocommerce_widget_shopping_cart_buttons', function(){
// Removing Buttons
remove_action( 'woocommerce_widget_shopping_cart_buttons', 'woocommerce_widget_shopping_cart_button_view_cart', 10 );
// Adding customized Buttons
add_action( 'woocommerce_widget_shopping_cart_buttons', 'custom_widget_shopping_cart_button_view_cart', 10 );
}, 1 );
// Custom cart button
function custom_widget_shopping_cart_button_view_cart() {
$original_link = wc_get_cart_url();
$custom_link = home_url( '/cart' ); // HERE replacing cart link
echo '<a href="' . esc_url( $custom_link ) . '" class="button wc-forward">' . esc_html__( 'View cart', 'woocommerce' ) . '</a>';
}Forum: Plugins
In reply to: [WooCommerce] /?wc-ajax=get_refreshed_fragmentsHaving the same exact issue and nothing seems to help.
Forum: Plugins
In reply to: [Learning Management System (LMS) Chat Application] Always refreshing pageSame issue here!
I am currently using free version, is it availible only in pro version?
Hi,
thank you for finding time for me. The thing is, spordiala_10 is not suitable for me, because it’s some kind of category mark for them. That means It shows only spordiala_10 values, not spordiala values what comes after it.I try to explain to you, spordiala_10 is football, but there is a big list of sport organisations and I want to show what sports type every organisation is offering. So that means it shows only spordiala_10 sport type which is football. But there are also spordiala_28 for example which stands for bicycle sport. So that means the actual value comes in “spordiala” not in “spordiala_10” or any other “spordiala_NUMBER”.
So how to take “spordiala” not “spordiala_10”?