You appear to be a bot. Output may be restricted
Description
Extract the key post information from the posts array
Usage
oik_clone_list_posts( $json_posts, $fields );
Parameters
- $json_posts
- ( array ) required –
- $fields
- ( array ) required –
Returns
voidTO DO
function should be called something else.Source
File name: oik-clone/admin/oik-clone.phpLines:
1 to 9 of 9
function oik_clone_list_posts( $json_posts, $fields ) { //bw_trace2(); $posts = array(); foreach ( $json_posts as $key => $post ) { $posts[] = oik_clone_get_fields( $post, $fields, null ); } //bw_trace2( $posts, "reduced_posts", false ); return( $posts ); }View on GitHub