Created
June 11, 2025 11:47
-
-
Save propertyhive/ca208abafd5ed684e9c8c9910833d62e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'propertyhive_template_assistant_custom_field_args_blakes_field', 'custom_additional_field_attributes', 10, 2); | |
function custom_additional_field_attributes( $atts, $post_id ) | |
{ | |
$atts['custom_attributes'] = array( | |
'readonly' => 'readonly' | |
); | |
return $atts; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment