WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
Allow for filtering of various values (1 post)

  1. scottconnerly
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.