You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* translators: 1 starting bold tag, 2 is the ending bold tag */
1630
+
__( '%1$sYour site has already reached over 50%% of your monthly visits limit within just two weeks.%2$s <br/> Based on this trend, you are likely to exceed your free quota before the month ends. To avoid any disruption in service, we strongly recommend upgrading your plan or waiting until your traffic stabilizes before offloading your images. Do you still wish to proceed?', 'optimole-wp' ),
1631
+
'<strong>',
1632
+
'</strong>'
1633
+
)
1634
+
: '',
1627
1635
'signup_terms' => sprintf(
1628
1636
/* translators: 1 is starting anchor tag to terms, 2 is starting anchor tag to privacy link and 3 is ending anchor tag. */
1629
1637
__( 'By signing up, you agree to our %1$sTerms of Service %3$s and %2$sPrivacy Policy %3$s.', 'optimole-wp' ),
@@ -2171,4 +2179,53 @@ public function survey_category( $value, $scale = 1 ) {
2171
2179
2172
2180
return0;
2173
2181
}
2182
+
2183
+
/**
2184
+
* Determines whether the exceed quota warning should be displayed to users.
2185
+
*
2186
+
* This function checks if the user's quota usage has exceeded a predefined limit
2187
+
* and returns a boolean value indicating whether the warning should be shown.
2188
+
*
2189
+
* @return bool True if the exceed quota warning should be displayed, false otherwise.
0 commit comments