This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
Plugin Name: Bokamera integration - SH | |
Plugin URI: http://olaflindstrom.se | |
Description: Integrate bokamera with shortcode. | |
Author: Olaf L | |
Version: 1.0.0 | |
*/ | |
class BokaMeraIntegration { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mg_add_nav_item( $navs ) { | |
$new_nav_items = [ | |
'navitem', | |
'navitem2', | |
'navitem3', | |
]; | |
$navs = array_merge( $new_nav_items, $navs ); | |
return $navs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vendor.min_d5e51d35.js:1 POST https://be.wizzair.com/7.13.0/Api/payment/empty 400 () | |
app.min_8e2beb79.js:1 WIZZ: Untranslated error label "AmountDueIsGreaterThanZero". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Repeater property | |
$this->box( __('Marketing Funnels', 'smalsparet'), [ | |
$this->property( [ | |
'type' => 'repeater', | |
'title' => __('Marketing Funnels', 'smalsparet'), | |
'slug' => 'marketingfunnels', | |
'sidebar' => false, | |
'settings' => [ | |
'items' => [ | |
$this->property( [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_marketingfunnels_0_funnel_img_property | O:8:"stdClass":15:{s:10:"array_slug";s:15:"papi_funnel_img";s:12:"capabilities";a:0:{}s:7:"default";s:0:"";s:11:"description";s:0:"";s:8:"disabled";b:0;s:4:"lang";b:0;s:3:"raw";b:1;s:8:"required";b:0;s:8:"settings";O:8:"stdClass":1:{s:7:"gallery";b:0;}s:7:"sidebar";b:1;s:4:"slug";s:36:"papi_marketingfunnels[0][funnel_img]";s:10:"sort_order";i:1000;s:5:"title";s:5:"Image";s:4:"type";s:5:"image";s:5:"value";O:8:"stdClass":12:{s:5:"width";i:3264;s:6:"height";i:2448;s:4:"file";s:21:"2015/05/tagtrafik.jpg";s:5:"sizes";a:3:{s:9:"thumbnail";a:4:{s:4:"file";s:21:"tagtrafik-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:21:"tagtrafik-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:22:"tagtrafik-1024x768.jpg";s:5:"width";i:1024;s:6:"height";i:768;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:11:{s:8:"aperture";i:0;s:6:"credit";s:0:""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Block known spam referers and give them a 444 (used for malware etc). | |
if ($http_referer ~* (semalt.com|bestwebsiteawards|buttons-for-website|hostingbot)) { | |
return 444; | |
} |