PHP Class acf_field_reusable_field_group_field, acf-reusable-field-group-field

Inheritance: extends acf_field
Mostra file Open project: Hube2/acf-reusable-field-group-field

Public Properties

Property Type Description
$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

Public Methods

Method Description
__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 ( )

Method Details

__construct() public method

public __construct ( )

acf_location_rules_match_nowhere() public method

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

acf_location_rules_types() public method

public acf_location_rules_types ( $choices )

acf_location_rules_values_special() public method

public acf_location_rules_values_special ( $choices )

admin_head() public method

end function meta_box
public admin_head ( )

build_field_groups() public method

public build_field_groups ( )

clear_acf_cache() public method

public clear_acf_cache ( $fields = false )

clear_cache() public method

end function maybe_load_local
public clear_cache ( )

correct_keys() public method

public correct_keys ( $array )

field_group_admin_head() public method

end function save_post

get_acf_field_groups() public method

end function rebuild_fields

get_field_group_choices() public method

infinite_loop_message() public method

key_pre_replace() public method

public key_pre_replace ( $array )

maybe_load_local() public method

end function should_run
public maybe_load_local ( )

meta_box_data() public method

public meta_box_data ( $plugins = [] )

rebuild_fields() public method

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

rebuild_group() public method

public rebuild_group ( $group_key )

render_field_settings() public method

public render_field_settings ( $field )

replace_keys() public method

public replace_keys ( $array )

save_post() public method

end function clear_cache
public save_post ( $post_id )

scan_group_fields() public method

public scan_group_fields ( $group, $fields )

should_run() public method

public should_run ( )

Property Details

$field_groups public_oe property

groups that need to be rebuilt
public $field_groups

$groups public_oe property

public $groups

$local_loaded public_oe property

public $local_loaded

$new_field_groups public_oe property

to hold all field groups for processing
public $new_field_groups

$replaced_keys public_oe property

to hold fieilds after rebuilding for testing
public $replaced_keys

$unique_replace public_oe property

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