• Resolved tbo460

    (@thibotus01)


    Hi,

    Since latest version When I add a new snippet it is not visible in the list of snippets.

    I checked in phpmyadmin it is showing in the snippets table.

    A bug?

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hello,

    Can you please post a screenshot of what that snippet looks like in your database table?

    Thread Starter tbo460

    (@thibotus01)

    I don’t have the screenshot at time but here the code:

    // Always use the shipping address if it's available
    add_filter( 'wcml_geolocation_get_user_country', function( $userCountry, $allCountries ) {
        return ! empty( $allCountries['shipping'] ) ? $allCountries['shipping'] : $userCountry;
    }, 10, 2 );

    Latest WP version
    PHP 8

    • This reply was modified 2 years, 10 months ago by tbo460.
    Plugin Author Shea Bunge

    (@bungeshea)

    This issue should be fixed with the caching changes in 3.1.0.

    Thread Starter tbo460

    (@thibotus01)

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘3.0. version – new snippets not showing’ is closed to new replies.