Files
hub-insurance/wp-content/plugins/visual-regression-tests/components/metabox-classic-editor/metabox-notifications/metabox-notification-unlock-more-tests.php
T
2026-07-02 15:54:39 -06:00

28 lines
818 B
PHP

<?php
use Vrts\Core\Utilities\Url_Helpers;
?>
<div class="vrts-metabox-notice vrts-metabox-notice-is-info">
<p><strong><?php esc_html_e( 'Unlock more tests', 'visual-regression-tests' ); ?></strong></p>
<p>
<?php
printf(
'%s %s',
sprintf(
/* translators: %1$s, %2$s: number of tests. */
esc_html__( 'Good work! You have added %1$s of %2$s available tests.', 'visual-regression-tests' ),
intval( $data['total_tests'] ) - intval( $data['remaining_tests'] ),
intval( $data['total_tests'] )
),
sprintf(
/* translators: %1$s, %2$s: link wrapper. */
esc_html__( 'Upgrade %1$shere%2$s to add more tests to your website!', 'visual-regression-tests' ),
'<a href="' . esc_url( Url_Helpers::get_page_url( 'upgrade' ) ) . '" target="_blank">',
'</a>'
)
)
?>
</p>
</div>