<?php // Register deprecated filters ( $deprecated, $version, $replacement ). acf_add_deprecated_filter( 'acf/settings/export_textdomain', '5.3.3', 'acf/settings/l10n_textdomain' ); acf_add_deprecated_filter( 'acf/settings/export_translate', '5.3.3', 'acf/settings/l10n_field' ); acf_add_deprecated_filter( 'acf/settings/export_translate', '5.3.3', 'acf/settings/l10n_field_group' ); acf_add_deprecated_filter( 'acf/settings/dir', '5.6.8', 'acf/settings/url' ); acf_add_deprecated_filter( 'acf/get_valid_field', '5.5.6', 'acf/validate_field' ); acf_add_deprecated_filter( 'acf/get_valid_field_group', '5.5.6', 'acf/validate_field_group' ); acf_add_deprecated_filter( 'acf/get_valid_post_id', '5.5.6', 'acf/validate_post_id' ); acf_add_deprecated_filter( 'acf/get_field_reference', '5.6.5', 'acf/load_reference' ); acf_add_deprecated_filter( 'acf/get_field_group', '5.7.11', 'acf/load_field_group' ); acf_add_deprecated_filter( 'acf/get_field_groups', '5.7.11', 'acf/load_field_groups' ); acf_add_deprecated_filter( 'acf/get_fields', '5.7.11', 'acf/load_fields' ); // Register variations for deprecated filters. acf_add_filter_variations( 'acf/get_valid_field', array( 'type' ), 0 ); /** * acf_render_field_wrap_label * * Renders the field's label. * * @date 19/9/17 * @since 5.6.3 * @deprecated 5.6.5 * * @param array $field The field array. * @return void */ function acf_render_field_wrap_label( $field ) { // Warning. _deprecated_function( __FUNCTION__, '5.7.11', 'acf_render_field_label()' ); // Render. acf_render_field_label( $field ); } /** * acf_render_field_wrap_description * * Renders the field's instructions. * * @date 19/9/17 * @since 5.6.3 * @deprecated 5.6.5 * * @param array $field The field array. * @return void */ function acf_render_field_wrap_description( $field ) { // Warning. _deprecated_function( __FUNCTION__, '5.7.11', 'acf_render_field_instructions()' ); // Render. acf_render_field_instructions( $field ); } /** * Returns and array of fields for the given $parent_id. * * @date 27/02/2014 * @since 5.0.0. * @deprecated 5.7.11 * * @param integer $parent_id The parent ID. * @return array */ function acf_get_fields_by_id( $parent_id = 0 ) { // Warning. _deprecated_function( __FUNCTION__, '5.7.11', 'acf_get_fields()' ); // Return fields. return acf_get_fields( array( 'ID' => $parent_id, 'key' => "group_$parent_id", ) ); } /** * acf_update_option * * A wrapper for the WP update_option but provides logic for a 'no' autoload * * @date 4/01/2014 * @since 5.0.0 * @deprecated 5.7.11 * * @param string $option The option name. * @param string $value The option value. * @param string $autoload An optional autoload value. * @return boolean */ function acf_update_option( $option = '', $value = '', $autoload = null ) { // Warning. _deprecated_function( __FUNCTION__, '5.7.11', 'update_option()' ); // Update. if ( $autoload === null ) { $autoload = (bool) acf_get_setting( 'autoload' ); } return update_option( $option, $value, $autoload ); } /** * acf_get_field_reference * * Finds the field key for a given field name and post_id. * * @date 26/1/18 * @since 5.6.5 * @deprecated 5.6.8 * * @param string $field_name The name of the field. eg 'sub_heading' * @param mixed $post_id The post_id of which the value is saved against * @return string $reference The field key */ function acf_get_field_reference( $field_name, $post_id ) { // Warning. _deprecated_function( __FUNCTION__, '5.6.8', 'acf_get_reference()' ); // Return reference. return acf_get_reference( $field_name, $post_id ); } /** * acf_get_dir * * Returns the plugin url to a specified file. * * @date 28/09/13 * @since 5.0.0 * @deprecated 5.6.8 * * @param string $filename The specified file. * @return string */ function acf_get_dir( $filename = '' ) { // Warning. _deprecated_function( __FUNCTION__, '5.6.8', 'acf_get_url()' ); // Return. return acf_get_url( $filename ); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Blocks | Folder | 0755 |
|
|
admin | Folder | 0755 |
|
|
ajax | Folder | 0755 |
|
|
api | Folder | 0755 |
|
|
fields | Folder | 0755 |
|
|
forms | Folder | 0755 |
|
|
legacy | Folder | 0755 |
|
|
locations | Folder | 0755 |
|
|
post-types | Folder | 0755 |
|
|
rest-api | Folder | 0755 |
|
|
walkers | Folder | 0755 |
|
|
acf-bidirectional-functions.php | File | 9.19 KB | 0644 |
|
acf-field-functions.php | File | 38.86 KB | 0644 |
|
acf-field-group-functions.php | File | 13.52 KB | 0644 |
|
acf-form-functions.php | File | 3.78 KB | 0644 |
|
acf-helper-functions.php | File | 16.14 KB | 0644 |
|
acf-hook-functions.php | File | 5.37 KB | 0644 |
|
acf-input-functions.php | File | 11.32 KB | 0644 |
|
acf-internal-post-type-functions.php | File | 18.2 KB | 0644 |
|
acf-meta-functions.php | File | 10.15 KB | 0644 |
|
acf-post-functions.php | File | 889 B | 0644 |
|
acf-post-type-functions.php | File | 7.25 KB | 0644 |
|
acf-taxonomy-functions.php | File | 6.3 KB | 0644 |
|
acf-user-functions.php | File | 2.32 KB | 0644 |
|
acf-utility-functions.php | File | 3.07 KB | 0644 |
|
acf-value-functions.php | File | 10.3 KB | 0644 |
|
acf-wp-functions.php | File | 6.53 KB | 0644 |
|
assets.php | File | 15.68 KB | 0644 |
|
class-acf-data.php | File | 6.68 KB | 0644 |
|
class-acf-internal-post-type.php | File | 22.65 KB | 0644 |
|
class-acf-site-health.php | File | 20.13 KB | 0644 |
|
compatibility.php | File | 12.32 KB | 0644 |
|
deprecated.php | File | 3.97 KB | 0644 |
|
fields.php | File | 12.29 KB | 0644 |
|
index.php | File | 43 B | 0644 |
|
l10n.php | File | 3.7 KB | 0644 |
|
local-fields.php | File | 15.96 KB | 0644 |
|
local-json.php | File | 14.3 KB | 0644 |
|
local-meta.php | File | 6.09 KB | 0644 |
|
locations.php | File | 8.19 KB | 0644 |
|
loop.php | File | 5.01 KB | 0644 |
|
media.php | File | 7.09 KB | 0644 |
|
rest-api.php | File | 383 B | 0644 |
|
revisions.php | File | 12.33 KB | 0644 |
|
third-party.php | File | 4.25 KB | 0644 |
|
upgrades.php | File | 11.13 KB | 0644 |
|
validation.php | File | 7.4 KB | 0644 |
|
wpml.php | File | 8 KB | 0644 |
|