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

  1. Patrick Rauland
    Posted 5 years ago #


    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
    Posted 5 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
    Posted 5 years ago #

    thanks vtxyzzy,

    You are solving all of my problems. :)

Topic Closed

This topic has been closed to new replies.

About this Topic