Please add one line of code to help all developers!
-
Hi you can improve your WordPress plugin and help me and many developers work with your plugin with just 1 line of code.
The line of code in question is:
“if ( apply_filters( ‘dsq_can_replace_filter’, false )){ return false; }// NomadDevs 13-Dec-2014”It should be placed on line 225 of disqus.php at the start of the function “dsq_can_replace()” i have linked to a pastebin of the function with the code added. https://pastebin.com/4xT6wdw7
This filter will allow any developer to enable/disable your plugin on the fly, in my case i am using it to check if the current post is one of my Custom Post Types (CTP) and then disable it if it is as we run a review system on these CTP’s.
I would be extremely grateful if you could add this and release, we have many hundreds of customers who are waiting for this. If for some reason you plan to not add this code please let me know ASAP.
Kind Regards,
Stiofan O’Connor
- The topic ‘Please add one line of code to help all developers!’ is closed to new replies.