acf/current_user_can_edit_post

acf/current_user_can_edit_post

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.5

apply_filters('acf/current_user_can_edit_post') is found 1 times:

  • /includes/api/api-helpers.php line 2740
    	 * 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