34 | | True. Well if the we only considered a string and first character were an indicator it would be a very fast check before running the filter. I've uploaded another patch for consideration. |
| 34 | True. Well if the we only considered a string and first character were an indicator it would be a very fast check before running the filter. I've uploaded another patch for consideration. With this approach we could support one of these syntaxes: |
| 35 | |
| 36 | {{{ |
| 37 | remove_action( 'the_content', '@My_Plugin::the_content' ); |
| 38 | remove_action( 'the_content', '@My_Plugin->the_content' ); |
| 39 | }}} |