PHP Класс acf_field_reusable_field_group_field, acf-reusable-field-group-field

Наследование: extends acf_field
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$field_groups groups that need to be rebuilt
$groups
$local_loaded
$new_field_groups to hold all field groups for processing
$replaced_keys to hold fieilds after rebuilding for testing
$unique_replace field keys that need to be replaced for conditional logic

Открытые методы

Метод Описание
__construct ( )
acf_location_rules_match_nowhere ( $match, $rule, $options )
acf_location_rules_types ( $choices )
acf_location_rules_values_special ( $choices )
admin_head ( ) end function meta_box
build_field_groups ( )
clear_acf_cache ( $fields = false )
clear_cache ( ) end function maybe_load_local
correct_keys ( $array )
field_group_admin_head ( ) end function save_post
get_acf_field_groups ( ) end function rebuild_fields
get_field_group_choices ( )
infinite_loop_message ( )
key_pre_replace ( $array )
maybe_load_local ( ) end function should_run
meta_box_data ( $plugins = [] )
rebuild_fields ( $parent, $fields, $parent_key = '', $parent_name = '', $logic = '', $parent_label = '' )
rebuild_group ( $group_key )
render_field_settings ( $field )
replace_keys ( $array )
save_post ( $post_id ) end function clear_cache
scan_group_fields ( $group, $fields )
should_run ( )

Описание методов

__construct() публичный Метод

public __construct ( )

acf_location_rules_match_nowhere() публичный Метод

public acf_location_rules_match_nowhere ( $match, $rule, $options )

acf_location_rules_types() публичный Метод

public acf_location_rules_types ( $choices )

acf_location_rules_values_special() публичный Метод

public acf_location_rules_values_special ( $choices )

admin_head() публичный Метод

end function meta_box
public admin_head ( )

build_field_groups() публичный Метод

public build_field_groups ( )

clear_acf_cache() публичный Метод

public clear_acf_cache ( $fields = false )

clear_cache() публичный Метод

end function maybe_load_local
public clear_cache ( )

correct_keys() публичный Метод

public correct_keys ( $array )

field_group_admin_head() публичный Метод

end function save_post

get_acf_field_groups() публичный Метод

end function rebuild_fields

get_field_group_choices() публичный Метод

infinite_loop_message() публичный Метод

key_pre_replace() публичный Метод

public key_pre_replace ( $array )

maybe_load_local() публичный Метод

end function should_run
public maybe_load_local ( )

meta_box_data() публичный Метод

public meta_box_data ( $plugins = [] )

rebuild_fields() публичный Метод

public rebuild_fields ( $parent, $fields, $parent_key = '', $parent_name = '', $logic = '', $parent_label = '' )

rebuild_group() публичный Метод

public rebuild_group ( $group_key )

render_field_settings() публичный Метод

public render_field_settings ( $field )

replace_keys() публичный Метод

public replace_keys ( $array )

save_post() публичный Метод

end function clear_cache
public save_post ( $post_id )

scan_group_fields() публичный Метод

public scan_group_fields ( $group, $fields )

should_run() публичный Метод

public should_run ( )

Описание свойств

$field_groups публичное свойство

groups that need to be rebuilt
public $field_groups

$groups публичное свойство

public $groups

$local_loaded публичное свойство

public $local_loaded

$new_field_groups публичное свойство

to hold all field groups for processing
public $new_field_groups

$replaced_keys публичное свойство

to hold fieilds after rebuilding for testing
public $replaced_keys

$unique_replace публичное свойство

field keys that need to be replaced for conditional logic
public $unique_replace