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
#Extreme Far-Right/KKK/Nazis Groups | |
0.0.0.0 dailystormer.com | |
0.0.0.0 dailystormer.name | |
0.0.0.0 alternativeright.com | |
0.0.0.0 altright.com | |
0.0.0.0 iisecurityforce.com | |
0.0.0.0 identityevropa.com | |
0.0.0.0 hdailystormer.red | |
0.0.0.0 bnp.org.uk | |
0.0.0.0 bloodandsoil.org |
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
CREATE TABLE `new_db`.`new_table` LIKE `old_db`.`old_table`; | |
INSERT `new_db`.`new_db` SELECT * FROM `old_db`.`old_table-db`; |
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
### Keybase proof | |
I hereby claim: | |
* I am alpha1 on github. | |
* I am alpha1beta (https://keybase.io/alpha1beta) on keybase. | |
* I have a public key ASCf7pW6rXY_T3pO1z2FFpuWW5kqSI1Xj6dbGwrjuDnVlgo | |
To claim this, I am signing this object: |
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_filter( 'gform_field_validation_3_1', 'email_valdity_check', 10, 4 ); | |
function email_valdity_check( $result, $value, $form, $field ){ | |
if( is_email( $value ) ){ | |
$result['is_valid'] = true; | |
} else { | |
$result['is_valid'] = false; | |
$result['message'] = __( 'Email address is not valud', 'text_domain' ); | |
} | |
return $result; |
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 | |
function wpcrmio_mass_insert_terms( $taxonomy, $terms_array = array() ){ | |
/* | |
$terms_array = array( | |
'slug' => array( | |
'name' => '', | |
'description' => '', | |
'meta' => '', | |
'children' => array( |
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_filter( 'gform_field_validation', 'wphacks_prevent_fake_phone_numbers', 1, 4); | |
function wphacks_prevent_fake_phone_numbers( $result, $value, $form, $field ){ | |
$error = array( 'is_valid' => 0, 'message' => 'Please use a real phone number' ); | |
//the 3 built in phone number fields, phone and text with input masks | |
if ( ($field->type == 'phone') || ( $field->type == 'text' && $field['inputMaskValue'] == '(999) 999-9999? x99999' ) || ( $field->type == 'text' && $field['inputMaskValue'] == '(999) 999-9999' ) ){ | |
//remove all special characters to make a numbers only string | |
$numbers_only = implode("", array_filter(str_split($value),function($array){ return is_numeric($array); })); |
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 | |
function allow_nbsp_in_tinymce( $mceInit ) { | |
$mceInit['entities'] = '160,nbsp,38,amp,60,lt,62,gt'; | |
return $mceInit; | |
} | |
add_filter( 'tiny_mce_before_init', 'allow_nbsp_in_tinymce' ); | |
?> |
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 | |
/* | |
This will allow Gravity Forms Notes to display HTML. You can already add html to notes, but it will be displayed out as code. | |
*/ | |
add_action('gform_entry_detail','gravity_forms_add_filter_allow_html'); | |
add_action('gform_entry_detail_content_before','gravity_forms_add_filter_allow_html'); | |
add_action('gform_entry_detail_content_after','gravity_forms_remove_filter_allow_html'); | |
function gravity_forms_add_filter_allow_html(){ |
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
/* | |
Gravity Forms 1.9.12.9 and above. Needs the 3rd arg on gform_after_update_entry | |
Compares values from the previous entry to the current (updated) entry, and adds a comment marking the user, time, field, and previous to current values that was changes - one comment per change. | |
*/ | |
function gf_add_note($entry_id, $note){ | |
RGFormsModel::add_note($entry_id, 0, __('gravity Forms'), $note); | |
} | |
add_action( 'gform_after_update_entry', 'magx_add_comment_for_changes_details', 10, 3 ); | |
function magx_add_comment_for_changes_details($form, $entry_id, $original_entry){ | |
$entry = GFAPI::get_entry( $entry_id ); |
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 | |
$css = "style=''"; | |
if ( has_post_thumbnail( get_the_ID ) ) : | |
$size = 'large'; // choose size of image to be used | |
$thumb_id = get_post_thumbnail_id(); | |
$thumb_object = wp_get_attachment_image_src($thumb_id, $size, true); | |
$thumb_url = $thumb_object[0]; | |
$css = "background-image:url('$thumb_url'); background-size:cover; background-position:top-center no-repeat;" | |
endif; |