You appear to be a bot. Output may be restricted
Description
Display the posts retrieved
Usage
oik_clone_display_posts( $posts, $fields );
Parameters
- $posts
- ( array ) required – array of post's key information
- $fields
- ( mixed ) required –
Returns
voidSource
File name: oik-clone/admin/oik-clone.phpLines:
1 to 19 of 19
function oik_clone_display_posts( $posts, $fields ) { gobang(); stag( "table", "widefat" ); $count = 0; add_filter( "oik_clone_tablerow", "oik_clone_tablerow_matched", 10, 2 ); stag( "thead"); bw_tablerow( $fields, "tr", "th" ); etag( "thead" ); foreach ( $posts as $key => $post ) { $post = apply_filters( "oik_clone_tablerow", $post, $fields ); bw_tablerow( $post ); bw_trace2( $post, "post", false ); oik_clone_display_matched_posts( $post ); $count++; } etag( "table" ); p( "Total: $count" ); }View on GitHub