Modify default settings

Home Forums Calendar Products Events Calendar PRO Modify default settings

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1401147
    cfoellmann
    Participant

    I need to filter the defaults for the settings of the plugin.

    Example: I want to replace the option ‘defaultCurrencySymbol’ from $ to €

    Is there a filter I have not found in the code? Or is this an oversight not making the defaults filterable?

    #1401546
    Courtney
    Member

    Hey Christian

    Can you check out Events » Settings » General » Default currency symbol (about 1/2 way down the page). I think this might be the easy solution. Let me know if it works for you.

    Thanks
    Courtney 🙂

    #1401559
    cfoellmann
    Participant

    I know where the option is.
    I need to set these before activation of the plugin.

    There should be a filter to modify with what options the plugin is activated with.

    #1402780
    Courtney
    Member

    Hi Christian

    We do have a filter for

    tribe_currency_symbol
    

    https://github.com/moderntribe/tribe-common/blob/f731894be1d918f6018a75aea57195759fd01859/src/functions/template-tags/general.php#L439 is the location.

    Let me know if you get this working.

    Thanks
    Courtney 🙂

    #1416116
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Modify default settings’ is closed to new replies.