pip_is_layout()
Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don’t provide support for code customizations or 3rd party development.
Check if current field group is a layout or a classic field group
/**
* Is a layout
*
* @param $post
*
* @return mixed
*/
function pip_is_layout( $post ) {
return acf_get_instance( 'PIP_Layouts' )->is_layout( $post );
}
Our home port
15 Rue Cavenne, 69007 Lyon
And from everywhere in the world thanks to Hangout and Skype !
Useful links