WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't Add Filter (3 posts)

  1. Patrick Rauland
    Member
    Posted 3 years ago #

    Hello,

    I am having trouble adding a filter. Basically anytime I want to use the "get_post_custom_values" function I would also like to do action x. But I can't get the filter to work, I believe it is because it is a function that is not supposed to have a filter. I found the list on this page and it seems to me that if you are not on this page you are out of luck.

    Are there any workarounds?

  2. vtxyzzy
    Member
    Posted 3 years ago #

    I would suggest writing your own function that is a wrapper for get_post_custom_values and call your function instead.

  3. Patrick Rauland
    Member
    Posted 3 years ago #

    thanks vtxyzzy,

    You are solving all of my problems. :)

Topic Closed

This topic has been closed to new replies.

About this Topic