Changeset 2696724
- Timestamp:
- 03/20/2022 10:23:37 PM (4 years ago)
- Location:
- wp-custom-rest-api-generator/trunk
- Files:
-
- 3 edited
-
admin/wpcrag_settings_api_function.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wp_custom_rest_api_generator.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-custom-rest-api-generator/trunk/admin/wpcrag_settings_api_function.php
r2273372 r2696724 12 12 $user_info = get_user_meta(get_the_author_meta('ID')); 13 13 14 $author_meta = (object) ['author_name' => implode($user_info['nickname']), 15 16 'author_description' => implode($user_info['description']), 17 18 'author_user_level' => (int) implode($user_info['wp_user_level']), 19 20 'author_avatar' => get_avatar_url(get_the_author_meta('ID')), 21 22 ]; 23 24 return $author_meta; 25 14 if(! empty($user_info)) { 15 $author_meta = (object) ['author_name' => implode($user_info['nickname']), 16 17 'author_description' => implode($user_info['description']), 18 19 'author_user_level' => (int) implode($user_info['wp_user_level']), 20 21 'author_avatar' => get_avatar_url(get_the_author_meta('ID')), 22 23 ]; 24 25 return $author_meta; 26 } 26 27 } 27 28 -
wp-custom-rest-api-generator/trunk/readme.txt
r2581705 r2696724 4 4 Tags: rest api, rest, api, wp api, admin, json, custom fields, taxonomy 5 5 Requires at least: 5.0 6 Tested up to: 5. 87 Stable tag: 1.0. 46 Tested up to: 5.9.2 7 Stable tag: 1.0.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 44 44 45 45 == Changelog == 46 = 1.0.5 = 47 * Tested with the latest build 48 46 49 = 1.0.4 = 47 50 * Tested with the latest build -
wp-custom-rest-api-generator/trunk/wp_custom_rest_api_generator.php
r2581705 r2696724 9 9 Description: Admin panel for enabling Author Meta, Featured Image, Custom Fields and Taxonomies for all available Post Types in WordPress Rest API 10 10 11 Version: 1.0. 411 Version: 1.0.5 12 12 13 13 Author: Centangle Interactive
Note: See TracChangeset
for help on using the changeset viewer.