Okay
  Public Ticket #2900569
Suggestion about options filter
Closed

Comments

  •  3
    ganix33 started the conversation

    Hi,

    Here a developer using Kalium for a client. I'm customizing some aspects and I miss something important: the ability to filter options value.

    You have kalium_blog_get_option() function to get some options value. It would be great if you included a filter in the final return, just as standard Wordpress get_option(). It would be something like:

    return apply_filters( "kalium_blog_get_option_{$option_name}", $option_value )

    With this simple modification your theme will be more flexible for developers to tune it.

    Thanks and congrats for your theme. I love it!

  • [deleted] replied

    Hi ganix33,

    Thank you for these suggestions. It seems very useful filter (I don't know how I forgot to add a filter to this), so I have modified the source files and the upcoming versions of Kalium will contain this:

    medium
    (view large image)

    So feel free to use this filter from now on.