acf/current_user_can_edit_post
acf/current_user_can_edit_post
Appears in: advanced-custom-fields.6.3.11
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.11apply_filters('acf/current_user_can_edit_post') is found 1 times:
- /includes/api/api-helpers.php line 2756
* However, more (core) stuff will likely break in this scenario. */ $user_can_edit = current_user_can( 'edit_post', $post_id ); return (bool) apply_filters( 'acf/current_user_can_edit_post', $user_can_edit, $post_id ); } /** * acf_get_filesize * * This function will return a numeric value of bytes for a given filesize string