Skip to content

Commit

Permalink
Codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
JoryHogeveen committed Jul 14, 2020
1 parent 19153ff commit 2b84084
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions classes/PodsAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -1185,41 +1185,41 @@ public function get_wp_object_fields( $object = 'post_type', $pod = null, $refre
'type' => 'number',
'alias' => array( 'id' ),
'options' => array(
'number_format' => '9999.99'
)
'number_format' => '9999.99',
),
),
'user_login' => array(
'name' => 'user_login',
'label' => 'Title',
'type' => 'text',
'alias' => array( 'login' ),
'options' => array(
'required' => 1
)
'required' => 1,
),
),
'user_nicename' => array(
'name' => 'user_nicename',
'label' => 'Permalink',
'type' => 'slug',
'alias' => array( 'nicename', 'slug', 'permalink' )
'alias' => array( 'nicename', 'slug', 'permalink' ),
),
'first_name' => array(
'first_name' => array(
'name' => 'first_name',
'label' => 'First Name',
'type' => 'text',
'alias' => array( 'firstname' )
'alias' => array( 'firstname' ),
),
'last_name' => array(
'last_name' => array(
'name' => 'last_name',
'label' => 'Last Name',
'type' => 'text',
'alias' => array( 'lastname' )
'alias' => array( 'lastname' ),
),
'display_name' => array(
'name' => 'display_name',
'label' => 'Display Name',
'type' => 'text',
'alias' => array( 'title', 'name' )
'alias' => array( 'title', 'name' ),
),
'user_pass' => array(
'name' => 'user_pass',
Expand All @@ -1228,8 +1228,8 @@ public function get_wp_object_fields( $object = 'post_type', $pod = null, $refre
'alias' => array( 'password', 'pass' ),
'options' => array(
'required' => 1,
'text_format_type' => 'password'
)
'text_format_type' => 'password',
),
),
'user_email' => array(
'name' => 'user_email',
Expand All @@ -1238,8 +1238,8 @@ public function get_wp_object_fields( $object = 'post_type', $pod = null, $refre
'alias' => array( 'email' ),
'options' => array(
'required' => 1,
'text_format_type' => 'email'
)
'text_format_type' => 'email',
),
),
'user_url' => array(
'name' => 'user_url',
Expand All @@ -1249,18 +1249,18 @@ public function get_wp_object_fields( $object = 'post_type', $pod = null, $refre
'options' => array(
'required' => 0,
'text_format_type' => 'website',
'text_format_website' => 'normal'
)
'text_format_website' => 'normal',
),
),
'user_registered' => array(
'name' => 'user_registered',
'label' => 'Registration Date',
'type' => 'date',
'alias' => array( 'created', 'date', 'registered' ),
'options' => array(
'date_format_type' => 'datetime'
)
)
'date_format_type' => 'datetime',
),
),
);
} elseif ( 'comment' === $object ) {
$fields = array(
Expand Down

0 comments on commit 2b84084

Please sign in to comment.