I hereby claim:
- I am jag1989 on github.
- I am reasonjonathan (https://keybase.io/reasonjonathan) on keybase.
- I have a public key ASBfn6TcV-zb950yz99DE5xJKVYcOdHqqW7ODaxl7C5Y0Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
cd ~/www/mduk/htdocs && find assets -type f > ./asset-paths-source-test.txt | |
count=$(wc -l < ~/www/mduk/htdocs/asset-paths-source-test.txt) | |
echo "Created ~/www/mduk/htdocs/asset-paths-source-test.txt" | |
echo "Total Asset Paths: $count" |
{% for key, value in content %} | |
{{ key }} - {{ value }} | |
{% endfor %} |
/** | |
* Returns the field inner markup. | |
* | |
* @since Unknown | |
* @access public | |
* | |
* @uses GF_Field_MultiSelect::is_entry_detail() | |
* @uses GF_Field_MultiSelect::is_form_editor() | |
* @uses GF_Field_MultiSelect::get_conditional_logic_event() | |
* @uses GF_Field_MultiSelect::get_tabindex() |
select post.ID, meta.meta_value, post.post_content | |
from wp_postmeta as meta | |
inner join wp_posts as post | |
on meta.post_id = post.ID | |
where post.post_content | |
like '%[shortcode_name%' | |
or meta.meta_value | |
like '%[shortcode_name%' | |
and post.post_type != 'revision' | |
group by post.id |
function meta_query_key_compare( $query ) { | |
$meta_query = $query->get('meta_query'); | |
if(empty($meta_query)) { | |
return; | |
} | |
$marker = '__tmp_marker__'; | |
$rx = []; |
<?php | |
global $post; | |
?> | |
<div class="banner_meta_control"> | |
<p>[cblock slug="<?php echo $post->post_name; ?>"]</p> | |
</div> |
add_action( 'phpmailer_init', 'configure_smtp' ); | |
function configure_smtp( PHPMailer $phpmailer ){ | |
$phpmailer->isSMTP(); //switch to smtp | |
$phpmailer->Host = 'localhost'; | |
$phpmailer->SMTPAuth = false; | |
$phpmailer->Port = 25; | |
$phpmailer->Username = 'Username Here'; | |
$phpmailer->Password = 'myemailpassword'; | |
$phpmailer->SMTPSecure = false; | |
$phpmailer->From = "noreply@email.com"; |