Skip to content

Instantly share code, notes, and snippets.

@gamalkamal
gamalkamal / GoogleDorking.md
Created May 12, 2023 09:20 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@gamalkamal
gamalkamal / WPML: Minor edit checked by default
Created January 9, 2020 08:27 — forked from mohsinrasool/WPML: Minor edit checked by default
Enable the "Minor edit - dont'update translation" by WPML checkbox by default on post editing screen
/**
* Javascript added in admin screens
* 1. Enable the "Minor edit - dont'update translation" by WPML checkbox by default on post editing screen
*
* @return void
* @author mohsinrasool
**/
add_action('admin_footer', 'mr_admin_footer');
function mr_admin_footer()
<?php
add_filter( 'wpcf7_skip_mail', 'solusiprss_cf7_send_whatsapp', 10, 2 );
add_filter( 'wpcf7_display_message', 'solusipress_cf_wa_sent_message', 10, 2 );
add_action( 'wp_footer', 'solusipress_cf7_add_script_footer' );
function solusiprss_cf7_send_whatsapp( $skip_mail, $contact_form ) {
if( $contact_form->id() == 105 ) {
$skip_mail = true;
}
return $skip_mail;
}