You appear to be a bot. Output may be restricted
Description
Return the subject of the email
Usage
$string = oiku_get_email_subject( $subject, $fields );
Parameters
- $subject
- ( string ) optional – email subject
- $fields
- ( array ) optional – reference to the fields array – we update the 'subject' field
Returns
string the email subjectSource
File name: oik-user/includes/oik-user-email.incLines:
1 to 10 of 10
function oiku_get_email_subject( $subject=null, &$fields=array() ) { if ( null == $subject ) { $subject = "Contact form submission"; } add_filter( "oiku_email_subject", "oiku_replace_fields", 1, 2 ); $subject = apply_filters( "oiku_email_subject", $subject, $fields ); $fields['subject'] = $subject; return( $subject ); }View on GitHub