is_automator_pro_active()
Check if automator pro is active or not.
Return Return
(boolean) True if automator pro is active. Otherwise false.
Source Source
File: src/global-functions.php
function is_automator_pro_active() { $is_active = false; // Check if automator pro is in list of active plugins. if ( in_array( 'uncanny-automator-pro/uncanny-automator-pro.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { //phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict return true; } return $is_active; }
Expand full source code Collapse full source code View on Github