Support » Plugin: Advanced Custom Fields » function helpers_get_dir( $file )

  • artallmadge


    Would you folks consider using the plugins_url() function inside helpers_get_dir to get the directory?

    I use the following inside the helpers_get_dir function and it appears to be more simple and accurate.

    $dir = plugins_url() . ‘/advanced-custom-fields/’;
    return $dir;

    I’ve changed our code for now, but would rather not have to update it every time you have a new release. Thanks for the great plugin.


  • The topic ‘function helpers_get_dir( $file )’ is closed to new replies.