How to disable (Read only) acf custom filed in wordpress?
Using bellow php code you can make ACF custom field as Read only. Place bellow PHP code in your theme functions.php file /** * Read only input fields in Admin ACF Group * custom_field_name */ function disable_custom_field_name_load_field( $field ) { $field['readonly'] = 1; return $field; } add_filter('acf/load_field/name=custom_field_name', 'disable_custom_field_name_load_field'); References https://support.advancedcustomfields.com/forums/topic/read-only-field-2/ Duminda WijerathnaAn all round web …
How to disable (Read only) acf custom filed in wordpress? Read More »