should_show() ) { return; } $dismiss_url = add_query_arg( 'aeomatic_dismiss_go_pro', '1' ); ?>

0 ) { return false; } // Only on AEOmatic admin screens — avoid becoming site-wide spam. if ( ! $this->on_aeomatic_screen() ) { return false; } // Give free-plugin users time to see value first. $installed_at = (int) AEOMATIC_Settings::get( '_meta', 'installed_at' ); if ( $installed_at && ( time() - $installed_at ) < ( self::MIN_AGE_DAYS * DAY_IN_SECONDS ) ) { return false; } return true; } private function on_aeomatic_screen(): bool { $screen = function_exists( 'get_current_screen' ) ? get_current_screen() : null; if ( ! $screen ) { return false; } return false !== strpos( (string) $screen->id, 'aeomatic' ); } }