\DevOwl\RealCookieBanner\lite\presets\blockerFiveStarRestaurantReservationsPreset

Five Star Restaurant Reservations Forms with Google reCAPTCHA blocker preset.

Summary

Methods
Properties
Constants
common()
needs()
getAdminEmailLink()
createHostsForCdn()
getPluginConstantPrefix()
No public properties found
IDENTIFIER
SLUG_FREE
SLUG_PRO
VERSION
KNOWN_CDNS
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

IDENTIFIER

IDENTIFIER =\DevOwl\RealCookieBanner\presets\PresetIdentifierMap::FIVE_STAR_RESTAURANT_RESERVATION

SLUG_FREE

SLUG_FREE ='restaurant-reservations'

SLUG_PRO

SLUG_PRO ='restaurant-reservations'

KNOWN_CDNS

KNOWN_CDNS =array('cdnjs.cloudflare.com', 'jsdelivr.net', 'unpkg.com')

Methods

common()

common(): array

Common preset options.

Returns

array

needs()

needs()

getAdminEmailLink()

getAdminEmailLink()

Get a `mailto:` link for the admin email. This can be especially useful for contact forms.

createHostsForCdn()

createHostsForCdn(string  $filename)

Iterate all known CDNs and return an array for blocking rules. You do not need to include the wildcard symbol `*` as it is automatically created.

Parameters

string $filename

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string