You can try this, it works for me 🙂
// We need plugin.php!
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
$plugins = get_plugins();
foreach ($plugins as $key => $value) {
if ( $value['Name'] == 'Aest Plugins' ) { // <-- name plugin validate
if( is_plugin_active( $key ) ){
echo "plugin {$value['Name']} is active";
}else{
echo "plugin {$value['Name']} is desactive";
}
}
}
Related Posts:
- How to get subscription key or id using Woocommerce Subscriptions [closed]
- How to enable specific plugin only based around shop manager role?
- Replacing a plugin function with a custom renamed function doesn’t work
- Redirect to another page using contact form 7? [closed]
- WordPress Stock Update Programatically
- Getting a ressource ID, from a WC_Order_Item_Product/Order
- Adding discount functionality to the cart
- How to assign a specific service to a specific provider based on location
- Easiest way to load/fire a handful of functions, IF checkbox is checked?
- Configuring default woo commerce login with modal popup
- Move related products after product summary? [closed]
- Woocommerce disable checkout on specific day
- Adding a script & php to functions.php
- How do I call wp_get_current_user() in a plugin when plugins are loaded before pluggable.php?
- WooCommerce create new product and add to cart on form submit
- Change destination author link
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- Get product attribute for Simple product in WooCommerce
- Over write plugin templates
- New Plugin: Post update pushes a copy as a revision
- How to Replace Words with Hypertext Link But Ignore Previously Existed Links?
- Add multiple attributes to product from php
- Display a text message if the field is not found and not if found
- Scope for PHP Variables Assigned in functions.php or a plugin
- Make specific products accessible only to a user role in WooCommerce
- Add a plugin before main container
- Dropdown menu on custom page with product to choose number of products per page
- woocommerce 3.2.1 not sending order notification emails
- Executing my function once on a specific time
- wordpress plugin is not activating from widget
- Override Plugin Script Fucnction in WordPress
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- Creating a Callback URL for WordPress Woocommerce to update Order Status
- How to call WordPress function other files
- Why “Call to a member function on a non-object” in plugin only?
- Conditional attributes and logic per product category
- WP Query. Is there a maximum size?
- What is @Action in WordPress?
- execute function after one completed
- wp_enqueue_scripts
- How to get specific string/value from an array? php [closed]
- Woocommerce Backend Search by Title and SKU
- 5 PHP Fatal error: Uncaught ArgumentCountError (Cannot Find)
- WooCommerce Shopping Cart Not Initially Showing Products [closed]
- How can I fetch data from another website to my wordpress website with mysql database
- Woocommerce singe product custom gallery output works just on the first slide
- How to include a custom field in the woocommerce email?
- How to translate wordpress error message
- Override a Plugin Function
- All custom widgets are not showing in widget area at the same time
- Add key and value to an array in another file
- Custom search search does not work?
- same user role or copy the user role to be same as the other role
- More gentle way to hook WordPress custom url
- How to add custom function to pluggable.php
- Checkbox show / hide output result
- Custom Logo Link WordPress
- How to convert Currency from USD to other IP Based currency in Php function
- Attempting to list all product categories and the price range of all products within them
- How to get brand children with woocommerce brands
- Woocommerce add products to cart
- Creating an array from form inputs before it is posted to the options database
- Plugin which unlock free gift when you reach some amount in cart
- is there a way to display product gallery images via cdn
- Changing wordpress/woocommerce notices default message to other languages (text)
- adding dynamic/multiple slug values in ‘option_none_value’
- post id or permalink auto-incrementing number and reset everyday
- Woocommerce – Change variations output
- Is admin section completely customizable in terms of styling?
- How to make the first letter of a post title uppercase, in a plugin?
- Change (replace) word in metabox
- Compare Ajax Data Results
- How can I make the search bar in my wordpress site search all of the pages rather than just the blog posts?
- Change pricing in Woocommerce based on Category and Product [closed]
- How to change the product short description for each product with PHP?
- Migrating custom php we wrote from functions.php into a site-specific plugin
- Nested DIV’s across functions in PHP, do not seem to work
- WordPress environment not loading properly
- Every time I use wp_get_current_user() my plugin breaks
- Woocommerce: deleted single-product.php, everything still works. How is it possible?
- Cannot access variables within a widget
- Is there any wordpress function to update a random post every 10 minutes?
- WordPress function to add text
- Saving an array to get_options
- Saving plugin data returns “You do not have sufficient permissions to access this page.”
- How to add a handler for a button in plugin?
- Doing action based on input from options menu
- Showing author box on post detail page
- How to execute init or woocommerce_init only for checkout page
- Populate Woocommerce order notes with custom field value
- Woocommerce Product Add-ons – Auto-select first option
- Requires PHP version 5.3.0
- PHP if url extension action=discussion condition use [closed]
- Shortcode inside a redirect [closed]
- Make plugin admin page visible to other roles
- Product customizing quiz – quiz adding products to the cart
- How to change all the urls of the WordPress site?
- Show WooCommerce products based on query parameters on redirect
- I want to allow certain file types on dokan upload files
- How to create different woocommerce single_product.php pages for each product? [closed]