CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 03:50:31 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=f5a0915af2df5bfdfbd7677ca5150f07b15a4bd3f7a88fcb495c8bd4258000dda%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22ETGG_Or2he7hQhpznq5kl6PwetdPd_ZD%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d3a22b68dd8839-BLR
WP Store Locator Install/Uninstall-Routine - Pastebin.com
SHARE
TWEET

WP Store Locator Install/Uninstall-Routine
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*********************
- *
- *
- * INSTALLATION/UNINSTALLATION
- *
- *
- *********************/
- register_activation_hook(__FILE__, 'wpsl_InstallBorlabsCookie');
- register_deactivation_hook(__FILE__, 'wpsl_UninstallBorlabsCookie');
- /* Adds new Blocked Content Type when the plugin is about to be activated */
- function wpsl_InstallBorlabsCookie()
- {
- if (function_exists('BorlabsCookieHelper')) {
- // We use the previewHTML code of the blocked content type "Google Maps"
- $bctGoogleMaps = BorlabsCookieHelper()->getBlockedContentTypeDataById('googlemaps');
- // Add new Blocked Content Type wpstorelocator - if the BCT exists nothing happens
- BorlabsCookieHelper()->addBlockedContentType(
- 'wpstorelocator',
- 'WP Store Locator',
- 'Lorem ipsum dolor - You text here, use it as advertisement if you like.',
- [],
- $bctGoogleMaps['previewHTML'],
- '',
- '',
- [
- 'responsiveIframe'=>true,
- ],
- true,
- true
- );
- }
- }
- /* Deletes Blocked Content Type when the plugin is about to be disabled */
- function wpsl_UninstallBorlabsCookie()
- {
- if (function_exists('BorlabsCookieHelper')) {
- // Delete Blocked Content Type wpstorelocator
- BorlabsCookieHelper()->deleteBlockedContentType('wpstorelocator');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐Exchange Exploit⭐⭐
Java | 7 sec ago | 0.10 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 8 sec ago | 0.25 KB
-
⭐⭐⭐Exchange Exploit⭐⭐
Java | 9 sec ago | 0.10 KB
-
⭐⭐⭐Instant Profit Method⭐⭐
Java | 11 sec ago | 0.10 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ O
JavaScript | 17 sec ago | 0.25 KB
-
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐
Java | 19 sec ago | 0.10 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ X
JavaScript | 21 sec ago | 0.25 KB
-
⭐⭐⭐Make $15OO in 2O minutesV G⭐⭐
Java | 21 sec ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand