• Resolved ajd777

    (@ajd777)


    I’m in the midst of working on a plugin, and I need to find a way to pass all of the option calls through a filter. Either that or I need to find a way to append an extra WHERE clause to the query.

    I found the filter ‘option_’ but it requires you to name each option individually. The only way to do this it is to created a list of options from the database and then using the eval command to parse it as php. However in doing so it will create a lot of extra stress on the server with each page load.

    Other than that the only other way to do that I know of is to hack the core which makes the plugin worthless to most people.

    If you can help with one or both of these I would greatly appreciate it.

  • The topic ‘How do you pass all options through a filter as they are called?’ is closed to new replies.