get_row_layout

Get_row_layout().

Description

get_row_layout(); 

This function will return a string representation of the current row layout within a has_sub_field loop


Usage

  1. if ( !function_exists( 'get_row_layout' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'advanced-custom-fields/core/api.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = get_row_layout(); 
  7.  

Defined (1)

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

/core/api.php  
  1. function get_row_layout() 
  2. // vars 
  3. $value = get_sub_field('acf_fc_layout'); 
  4.  
  5.  
  6. return $value;