Having Multiple authors for the same WordPress Plugin

Give this a try 1) First add new headers for the plugin meta: add_filter(‘extra_plugin_headers’, ‘add_extra_headers’); function add_extra_headers(){ return array(‘Author2’); } 2) Next filter the authors meta row on output: add_filter(‘plugin_row_meta’, ‘filter_authors_row_meta’, 1, 4); function filter_authors_row_meta($plugin_meta, $plugin_file, $plugin_data, $status ){ if(empty($plugin_data[‘Author’])){ return $plugin_meta; } if ( !empty( $plugin_data[‘Author2’] ) ) { $plugin_meta[1] = $plugin_meta[1] . ‘, … Read more

WordPress wp-json API – Custom Post Type returns 403

In version 1.1 of the JSON REST API custom post type endpoints have to be registered manually. See: http://wp-api.org/guides/extending.html#registering-your-endpoints In version 2.0 we register endpoints for any custom post types registered with the show_in_rest property set to true. Documentation on how to do this: http://v2.wp-api.org/extending/custom-content-types/#registering-a-custom-post-type-with-rest-api-support