=' ); } /** * Explains to administrators why the plugin is idle. */ public static function render_notice(): void { if ( ! current_user_can( 'activate_plugins' ) ) { return; } $version = self::version(); if ( null === $version ) { $message = __( 'Shift SnapCopy needs WPBakery Page Builder. Please install and activate it.', 'shift-snapcopy' ); } else { $message = sprintf( /* translators: 1: required WPBakery version, 2: installed WPBakery version. */ __( 'Shift SnapCopy needs WPBakery Page Builder %1$s or later. You are running version %2$s: please update it.', 'shift-snapcopy' ), self::MIN_VERSION, $version ); } echo '
' . esc_html( $message ) . '