WordPress.org

Forums

Post Meta Inspector
[resolved] It does not work at all sorry (3 posts)

  1. Julio Potier
    Member
    Posted 2 years ago #

    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 !

    http://wordpress.org/extend/plugins/post-meta-inspector/

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    This should be fixed now in v1.1

  3. Julio Potier
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post Meta Inspector
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.