Plugin Directory

Changeset 3273751


Ignore:
Timestamp:
04/15/2025 04:15:19 PM (12 months ago)
Author:
mediaticus
Message:

Readme and main plugin file update

Location:
subaccounts-for-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • subaccounts-for-woocommerce/trunk/readme.txt

    r3272812 r3273751  
    168168* **Tweak** – Provide both an HTML `class` and a unique HTML `id` for each navigation tab present in the `Subaccount` page on frontend.
    169169* **Tweak** – Provide HTML classes for each table column on the frontend `Manage Subaccounts` table.
    170 * **Tweak** – Changed the HTML markup of the fields in the "Account Details" section of the "Edit Subaccount" frontend form.
    171 * **Tweak** – Changed the HTML markup of the fields in the `Add Subaccount` frontend form.
     170* **Tweak** – Changed the HTML markup of the fields in the "Account Details" section of the `Edit Subaccount` frontend form.
    172171* **Tweak** – Changed the HTML markup of the fields in the `Add Subaccount` frontend form.
    173172* **Tweak** – Minor CSS changes.
  • subaccounts-for-woocommerce/trunk/subaccounts-for-woocommerce.php

    r3272812 r3273751  
    7777    // Init Freemius.
    7878    sfwc_free();
     79   
    7980    // Signal that SDK was initiated.
    8081    do_action( 'sfwc_free_loaded' );
    81 }
    82 
    83 sfwc_free()->add_filter( 'enable_cpt_advanced_menu_logic', '__return_true' );
     82   
     83    /**
     84     * Enable cpt advanced menu logic (for Freemius tabbed nav).
     85     *
     86     * Since Freemius SDK v2.11.0.
     87     *
     88     * It will try to detect the parent slug smartly, instead of assuming it to be admin.php.
     89     *
     90     * Right now we consider this feature beta, hence it is put behind the custom filter.
     91     * Once we have tested it across many use cases, we will consider removing the filter.
     92     */
     93    sfwc_free()->add_filter( 'enable_cpt_advanced_menu_logic', '__return_true' );
     94}
    8495
    8596
Note: See TracChangeset for help on using the changeset viewer.