acf/include_field_types хук-событие . ACF 5.0.0
Fires after field types have been included.
Использование
add_action( 'acf/include_field_types', 'action_function_name_7303' ); function action_function_name_7303( $major_version ){ // action... }
- $major_version(число)
- The major version of ACF.
Список изменений
С версии 5.0.0 | Введена. |
Где вызывается хук
acf/acf.php 273
do_action( 'acf/include_field_types', ACF_MAJOR_VERSION );
Где используется хук в ядре Advanced Custom Fields
acf/acf.php 46
add_action('acf/include_field_types', array($this, 'include_field_types'), 5);