PUM_Extension_License::plugin_row_license_missing( $plugin_data, $version_info )
Displays message inline on plugin row that the license key is missing
Contents
Description Description
Source Source
File: classes/Extension/License.php
public function plugin_row_license_missing( $plugin_data, $version_info ) { static $showed_imissing_key_message; $license = get_option( $this->item_shortname . '_license_active' ); if ( ( ! is_object( $license ) || 'valid' !== $license->license ) && empty( $showed_imissing_key_message[ $this->item_shortname ] ) ) { echo ' <strong><a href="' . esc_url( admin_url( 'edit.php?post_type=popup&page=pum-settings&tab=licenses' ) ) . '">' . __( 'Enter valid license key for automatic updates.', 'popup-maker' ) . '</a></strong>'; $showed_imissing_key_message[ $this->item_shortname ] = true; } }
Expand full source code Collapse full source code View on Trac