The page you are looking at now is at this URL: http://pastoid.com/b2e
This paste was last updated on June 23, 2010 at 7:58 am.
/** * Filter the parameters being passed to Posts::get() * * @param array $filters The parameters to be passed to Posts::get() * * @return array The updated parameters */ public function filter_template_where_filters( $filters ) { if( isset( $filters['content_type'] ) ) { $types = Utils::single_array( $filters->offsetGet( 'content_type' ) ); $types[] = Post::type( 'page' ); $filters->offsetSet( 'content_type', $types ); } return $filters; }
| Referring Domain | Hits |
|---|---|
| Unknown Referer | 127 |
| pastoid.com | 29 |
Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This