<settings>not_logged_in_msg

The Ninja Forms settings not logged in msg shortcode.


Usage

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

Defined (1)

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

/includes/Display/Render.php  
  1. self::localize( $form_id ); 
  2. return; 
  3.  
  4. if( isset( $form[ 'settings' ][ 'logged_in' ] ) && $form[ 'settings' ][ 'logged_in' ] && ! is_user_logged_in() ) { 
  5. echo do_shortcode( $form[ 'settings' ][ 'not_logged_in_msg' ]); 
  6. return; 
  7.  
  8. $form[ 'settings' ] = array_merge( Ninja_Forms::config( 'i18nFrontEnd' ), $form[ 'settings' ] ); 
  9. $form[ 'settings' ] = apply_filters( 'ninja_forms_display_form_settings', $form[ 'settings' ], $form_id );