' . sprintf( __( 'The plugin "%1$s" requires %2$s! Please %3$s to continue!' ), $this->extension_name, '' . __( 'Popup Maker' ) . '', $link ) . '
';
break;
case 'not_updated':
$url = esc_url( wp_nonce_url( admin_url( 'update.php?action=upgrade-plugin&plugin=' . $this->core_path ), 'upgrade-plugin_' . $this->core_path ) );
$link = '' . sprintf( __( 'The plugin "%1$s" requires %2$s v%3$s or higher! Please %4$s to continue!' ), $this->extension_name, '' . __( 'Popup Maker' ) . '', '' . $this->required_core_version . '', $link ) . '
';
break;
case 'not_installed':
$url = esc_url( wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=popup-maker' ), 'install-plugin_popup-maker' ) );
$link = '' . sprintf( __( 'The plugin "%1$s" requires %2$s! Please %3$s to continue!' ), $this->extension_name, '' . __( 'Popup Maker' ) . '', $link ) . '
';
break;
case 'active':
default:
return;
}
}
/**
* @param array $enabled_extensions
*
* @return array
*/
public function enabled_extensions( $enabled_extensions = [] ) {
$enabled_extensions[ $this->extension_slug ] = $this->extension_class_name;
return $enabled_extensions;
}
}