PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.20
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.20
1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 All 164 releases
← All changes | includes/wcpos-functions.php +14 -0 1.10.0 → 1.10.20 View file →
@@ -216,8 +216,22 @@
216 216 }
217 217 }
218 218
219 219 /*
220 + * Determine whether WCPOS Pro is active.
221 + *
222 + * @return bool Whether WCPOS Pro is active.
223 + */
224 +if ( ! \function_exists( 'wcpos_is_pro_active' ) ) {
225 + /**
226 + * Determine whether WCPOS Pro is active.
227 + */
228 + function wcpos_is_pro_active(): bool { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound -- uses wcpos_ prefix.
229 + return (bool) apply_filters( 'woocommerce_pos_is_pro_active', \defined( 'WCPOS\WooCommercePOSPro\VERSION' ) );
230 + }
231 +}
232 +
233 +/*
220 234 * Get the site UUID (Plugin State), generating and persisting it on first use.
221 235 *
222 236 * @return string Site UUID.
223 237 */