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" |
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
/** | |
* 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() |
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 | |
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; | |
} |