bw_get_subject() – Return the sanitized message subject

You appear to be a bot. Output may be restricted

Description

Return the sanitized message subject

Usage

$string = bw_get_subject();

Parameters

Returns

string sanitized value of the message subject ( oiku_subject )

Source

File name: oik/shortcodes/oik-contact-form.php
Lines:

1 to 7 of 7
function bw_get_subject() {
  $subject = bw_array_get( $_REQUEST, "oiku_subject", null );
  // $subject = stripslashes( $subject );
  $subject = sanitize_text_field( $subject );
  $subject = stripslashes( $subject );
  return( $subject );
}
 

 View on Trac