: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Displays message inline on plugin row that the license key is missing
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;
* Adds this plugin to the beta page
public function register_beta_support( $products ) {
$products[ $this->item_shortname ] = $this->item_name;