Yes, register a deactivation hook in your first plugin, and inside this hook deactivate the 2nd plugin using the deactivate_plugins()
function
Related Posts:
- Uninstall, Activate, Deactivate a plugin: typical features & how-to
- disable active plugins for specific theme
- OOP: Display warning and deactivate the plugin if PHP version is less than 5.4
- Show a confirmation message on plugin deactivation
- Do you clean up your self-written plugins’ at deactivation?
- Can a plugin deactivate itself?
- How to automate wordpress plugin activate and deactivate by php logic?
- Deactivate Plugin on Theme Switch
- Plugin Deactivate Self on Activation Errors
- Why my Plugin keeps deactivating automatically?
- Prevent a plugin from being automatically activated
- how to deactivate a plugin without using a WP function?
- How to deactivate my plugin upon deactivation of NextGen
- My plugin does not install correctly if a previous version is still installed
- Unset plugins on front-end belonging to specific category
- Different plugins activated online and offline
- Is it possible to run javascript on plugin deactivated?
- wordpress on localhost lamp doesn’t let me install plugins
- WP_User_Query and non-unique usermeta data
- Redirect to settings page after install
- What is the ‘admin_action_’ . $_REQUEST[‘action’] hook used for?
- How does WordPress determine the primary plugin PHP file?
- How should I use register_setting, add_settings_section, & add_settings_field in my plugin’s options page?
- Data sanitization escaping HTML apostrophes
- Custom comment type maybe?
- How do I get Version of all active plugins programmatically?
- Remove Adminstrator Hyperlink from a user having role to add and see users
- Enable comments for post with comments meta box removed
- How to link to YouTube videos with thumbnails?
- Problem protecting a page with a password
- Storing image gallery plugin data
- wordpress custom login successful redirect hook
- Is there any site where i can found good documentation of wp-ecommerce plugin?
- plugin for wp_list_categories with posts
- WooCommerce “Save Changes” button appears inside custom settings
- how to show database content in wordpress post
- How to override my plugin’s php classes with duplicates that are in my child theme folder
- How to make my plugin GDPR compatible?
- WordPress sending emails continuously. How to stop it?
- Can I use a method from an existing plugin as an action hook?
- Detect when any plugin is activated or deactivated
- Is there a way to get dynamic data into a Slider Revolution slide from a PHP script?
- Is there a way to dynamically get URL as a path to plugin root, not a local path?
- WAMP to XAMPP WordPress transfer
- How can i list random post from multiple category?
- How to create TEMPORARY Download links in a wordpress POST?
- WordPress Redirect Not Working – AJAX Callback Response Not Picked Up
- Does WordPress merges a plugin folder during update?
- I am not receiving className in a ServerSideRender component
- Automatic Updates Individual Plugins Not Working
- Problem with updating a plugin
- Send email when a portfolio project is updated
- WordPress as web application base
- Unable to add TAB character to post?
- Custom Permalink Plugin and Current Page/Ancestor in Menus
- How do I add image to the title of post?
- How to insert multiple postmeta values with one query?
- Woocommerce showing images blurry in description page
- “Conflict” with jQuery (or its plugins)?
- Overwrite category head title
- Restrict content based on buy woocommerce product
- Can I use register_settings and unregister_setting once the settings page has loaded?
- posts from multiple post types in one slider
- How to customize this theme? [closed]
- plugin generated unexpected output during activation, but it is empty
- How Should Custom Functions Be Called For Single Posts?
- Social share buttons text shows up on post excerpts
- Ajax request sends url rather than data
- Importing csv file
- grab or load text on demand
- Edit post image attributes on fly?
- How to displaying Custom image, text and default image logo from Redux Framework option panel
- Can’t save changes or modify settings in Dashboard but Pages and Posts are fine
- Grouping imported products and showing variations based on selected product
- WordPress fatal error from php protocol codes
- How to display the category name in the tab and post inside the tab in WordPress?
- Want to build parent-child relationships between custom post types created with CPT UI
- How would I Redirect an existing WooCommerce customer to a specific url after Checkout
- Ultimate Members Default Post Layout problem
- best way to upload a large file to wordpress using wp all import
- Why do actions with class and public method don’t fire __construct()
- how to enable/activate a plugin per Cpanel
- Gutenberg Block: How to reload a ServerSideRender?
- How to define the slug for my custom plugin?
- Run a Change Role Cron Job on WordPress via cPanel
- How to display variables from plugin?
- How to make the first letter of a post title uppercase, in a plugin?
- Payment failed but order is placed on wp site
- Manual Backup – How to save to Firefox or Chrome (instead of IE which brings up popup I can’t get rid of)
- Widget outputs the value but doesn’t save anything inside the textarea
- Add dynamic color to each category item
- Code fails in plugin file but works in functions.php
- Display_rows() and column_cb() strange behaviour
- I need to insert a captcha for all comments in word press
- The plugin generated xxx characters of unexpected output during activation
- My wordpress site wont load, it gives header error warnings
- Displaying Random Image from ACF Options Page [closed]
- How to work email subscribe in WordPress?
- Shortcode returning specific content of a post
- admin_enqueue_scripts using hook_suffix vs GET page