$plugins Installed add-on plugin objects keyed by slug. Each has: is_parent_licence, needs_license, license, option_name, plugin_name. */ if ( ! defined( 'ABSPATH' ) ) { die( 'You are not allowed to call this page directly.' ); } ?>
$plugin ) { if ( $slug === 'formidable_pro' || $plugin->is_parent_licence || ! $plugin->needs_license ) { continue; } $license = $plugin->license; $status = get_option( $plugin->option_name . 'active' ); $activate = false !== $license && $status === 'valid' ? 'deactivate' : 'activate'; $icon_class = $license ? '' : 'frm_hidden'; ?>