Support » Plugin: Advanced Custom Fields » [Plugin: Advanced Custom Fields] Allow for filtering of various values

  • scottconnerly

    (@scottconnerly)


    For example, :
    ./core/fields/acf_field.php acf_Field::get_value()
    $value = apply_filters(‘acf_get_value’, $value, $post_id, $field);

    ./core/fields/acf_field.php acf_Field::update_value()
    $value = apply_filters(‘acf_update_value’, $value, $post_id, $field);

    My use case, I’m using the datepicker input type, but want to save the values in PHP-style timestamps (whole seconds) not js-style timestamps (with milliseconds), and want to build some filters to intercept and convert those values.

    Thanks

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  • The topic ‘[Plugin: Advanced Custom Fields] Allow for filtering of various values’ is closed to new replies.