if (!-e $request_filename ){
set $test P;
}
if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon)){
set
This file contains hidden or 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 | |
/** | |
* Add Attachment ID to WordPress Media Library Details Panel. | |
* | |
* This snippet adds a new, non-editable field to the "Attachment Details" | |
* panel in the WordPress Media Library, displaying the media file's unique ID. | |
* | |
* HOW TO USE: | |
* 1. The BEST way: Use a code snippets plugin like WPCode. | |
* 2. The ADVANCED way: Add it to a custom functionality plugin. |
This file contains hidden or 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
Host | |
_D60DEBDF7C7954E5434758AEA14C3DC8.avolvesoftware.com | |
Target | |
64CDEFA5CAA71B480B83A106A2209375.C1A9952702C6DE371888D0CC387CB47F.653fca02e5829.comodoca.com |
This file contains hidden or 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
// yarn add @rollup/plugin-multi-entry --dev | |
// yarn add gulp-modernizr --dev | |
// yarn add gulp-modernizr |
This file contains hidden or 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
// When true, the form will be saved to DB after dynamic population | |
define('EO_SAVE_FORM_ON_PRE_RENDER', true); | |
// Adds a filter to form id 7. Replace 26 with your actual form id | |
add_filter('gform_pre_render_7', 'eo_populate_checkbox'); | |
add_filter('gform_admin_pre_render_7', 'eo_populate_checkbox'); | |
function eo_populate_checkbox($form) { | |
if (EO_SAVE_FORM_ON_PRE_RENDER) |
This file contains hidden or 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
$categories = get_categories( [ | |
'taxonomy' => 'category', | |
'type' => 'post', | |
'child_of' => 0, | |
'parent' => '', | |
'orderby' => 'name', | |
'order' => 'ASC', | |
'hide_empty' => 1, | |
'hierarchical' => 1, | |
'exclude' => '', |
This file contains hidden or 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
Sand blasting | |
Grit blasting | |
Aluminium oxide blasting | |
Blasting to ISO8501 | |
Painting to NORSOK M501 |
This file contains hidden or 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
/* | |
* To find a complete list of all events (and stay updated on any new ones added) | |
* you can consult the .js files in the directory: | |
* /wp-content/plugins/woocommerce/assets/js/frontend | |
*/ | |
// Woocommerce Checkout JS events | |
$( document.body ).trigger( 'init_checkout' ); | |
$( document.body ).trigger( 'payment_method_selected' ); |
NewerOlder