• Doesn’t seem to work in much of my code. For example, I am validating some submitted data inside one of my classes:

    public function filter_tag( $tag_maybe ) {
       do_action( 'add_debug_info', $tag_maybe, 'Tag Maybe' );
       return preg_match( '/^\s*\w{2,30}\s*$/', $tag_maybe );
    }

    Any idea why this wouldn’t work?

    https://ww.wp.xz.cn/plugins/debug-bar-custom-info/

The topic ‘Works sometimes…’ is closed to new replies.