<admin_subject>

The Ninja Forms admin subject shortcode.


Usage

  1. // assign value 
  2. $admin_subject = 'dynamic_tag'; 
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$admin_subject]"); 
  1. // assign value 
  2. $admin_subject = 'dynamic_tag'; 
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$admin_subject]"); 
  6. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/deprecated/includes/display/processing/filter-msgs.php  
  1. $admin_email_msg = wpautop( $admin_email_msg ); 
  2. $user_email_msg = wpautop( $user_email_msg ); 
  3.  
  4. //Apply shortcodes to each of our message fields. 
  5. $admin_subject = do_shortcode( $admin_subject ); 
  6. $user_subject = do_shortcode( $user_subject ); 
  7. //$success_msg = do_shortcode( $success_msg ); 
  8. $admin_email_msg = do_shortcode( $admin_email_msg ); 
  9. $user_email_msg = do_shortcode( $user_email_msg ); 
  10. $save_msg = do_shortcode( $save_msg );