• Resolved Julio Potier

    (@juliobox)


    Hello

    The box is empty, just “Key” and “Value”.
    In fact the line 66 is the problem :
    if ( apply_filters( 'pmi_ignore_post_meta_key', '__return_false', $key ) )
    The 2nd parameter is a string and will never be executed as a function, this is the way add_filter() works, not apply_filters().
    So you have to do this (tested and OK) :
    if ( apply_filters( 'pmi_ignore_post_meta_key', false, $key ) )
    I suggest you to add a second filter like this :
    if ( apply_filters( 'pmi_ignore_post_meta_' . $key, false ) )

    See you !

    https://www.ads-software.com/extend/plugins/post-meta-inspector/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    This should be fixed now in v1.1

    Thread Starter Julio Potier

    (@juliobox)

    Hello Daniel
    Thank you for this update, the other addition (jQuery) is also a good idea.
    By the way, you thanked CFG, but you can also thanks me, no problem.
    See you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Post Meta Inspector] It does not work at all sorry’ is closed to new replies.