Tags » Function

Parameters or Arguments

Parameters or arguments are the values that we provide when we call the function or subroutine. We store these values by variables in the function or subroutine. 24 more words


“Religion is for people who're afraid of going to hell. Spirituality is for those who've already been there.”

American Indian author, theologian, historian, and activist Vine Deloria, Jr. (March 26, 1933 – November 13, 2005) penned the above quote. (www.goodreads.com)

This quote is appropriate for the first blog of NallEdge Co. 219 more words


Add custom media field

Paste in functions.php

Field displaying in Edit media

/* custom media fild */
add_filter( ‘attachment_fields_to_edit’,  ‘attachment_fields_edit_hfp’, null, 2 );
add_filter( ‘attachment_fields_to_save’,  ‘attachment_fields_save_hfp’, null, 2 ); 197 more words


Display admin email address

<?php echo $admin_email = get_option( ‘admin_email’ );  ?>


Send email on multypal email address

$multiple_to_recipients = array(
wp_mail( $multiple_to_recipients, $sbj, $msg, $headers );


Post by custom days

You can also use day, week, month, year in  (1 week ago)

$last_week_news = new WP_Query( array(
‘date_query’ => array(
‘after’ => ’1 week ago’, 11 more words


Fluency - Novice Tip #1: Theme and Rheme

Create fluency by repositioning elements of the rheme (Polias, 2011)* of the sentence to the position of theme (ibid.) in the following sentence. Repositioning of rheme elements to the proceeding theme becomes a function of fluency creation. 268 more words