; @package Advanced Custom Fields ; @version 2.8.8 Pro ; ; @author Tassos Marinos - http://www.tassos.gr/joomla-extensions ; @copyright Copyright (c) 2016 Tassos Marinos. All rights reserved. ; @license http://www.tassos.gr PLG_FIELDS_ACFPHP_LABEL="ACF - PHP" ACF_PHP="Fields - ACF PHP" ACF_PHP_DESC="Execute PHP in a Joomla! Custom Field and display a dynamic value in the front-end." ACF_PHP_VALUE_DESC="The PHP code added here is executed just before the field is rendered in the front-end and must return a value using the return; statement.

Example 1:
$name = 'John Doe';
return $name;

Example 2:
return ($user->guest) ? 'Guest' : $user->name;

To access field settings use $field (Object) variable." ACF_PHP_FORBIDDEN_PHP_FUNCTIONS="Forbidden PHP Functions" ACF_PHP_FORBIDDEN_PHP_FUNCTIONS_DESC="A comma separated list of PHP functions that are forbidden. The whole PHP block of code will not be executed if it contains any of these functions."