Skip to content

Commit

Permalink
chore: rename to postCustomFieldName to postMetaFieldName
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Dec 28, 2021
1 parent b2f2e24 commit 77de5f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Type/WPObject/FormField/FieldProperty/FieldProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -1198,9 +1198,10 @@ public static function placeholder() : array {
*/
public static function post_custom_field_name() : array {
return [
'postCustomFieldName' => [
'postMetaFieldName' => [
'type' => 'String',
'description' => __( 'The name of the Post Custom Field that the submitted value should be assigned to.', 'wp-graphql-gravity-forms' ),
'description' => __( 'The post meta key to which the value should be assigned.', 'wp-graphql-gravity-forms' ),
'resolve' => fn( $source) => ! empty( $source->postCustomFieldName ) ? $source->postCustomFieldName : null,
],
];
}
Expand Down

0 comments on commit 77de5f0

Please sign in to comment.