Hi @islamicvideos
could you tell me the name of that plugin?
You can disable that plugin on the FDP backend pages by adding this kind of code in wp-config.php before the comment /* That’s all, stop editing! Happy publishing. */:
define( 'FDP_DISABLE_IN_FDP_PAGE', array( 'woocommerce/woocommerce.php' ) );
In the example above the plugin WooCommerce will not run on the FDP backend pages.
woocommerce is the name of the plugin folder of WooCommerce
woocommerce.php is the name of the main file of the plugin WooCommerce.
In general, this is the syntax:
define( 'FDP_DISABLE_IN_FDP_PAGE', array( '[sample-plugin-folder-name]/[sample-plugin-main-file-name.php' ) );
I hope it helps.
Have a great day!
Jose
Hi, Jose,
Thank you very much indeed for your reply.
My plugin and “freesoul deactivate plugins” plugin doesn’t work properly together in frontend. FDP makes this plugin not to work totally in frontend. This plugin uses shortcodes on a web page of wordpress.
It gives the following error when FDP is active? (the error is related with my plugin)
jQuery.Deferred exception: Cannot read properties of null (reading ‘addEventListener’) TypeError: Cannot read properties of null (reading ‘addEventListener’)
at HTMLDocument.
Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’)
If I deactivate FDP, the related web page and my plugin work correctly. But I need FDP for other pages.
How to make “freesoul deactivate plugins” not to be activated on this web page (with this plugin) (exclude this plugin or web page from FDP on frontend)?
Have a great day!