Welcome To Snipplr

Everyone's Recent PHP Snippets Tagged filter

« Prev 1 Next »
Sort & query arrays in PHP. Sort multi dimensional arrays by object properties and filter the array by specific criteria. Documentation: https://github.com/mattnicholson/DataList
1 180 posted 5 years ago by mattnicholson
filter out by category ID in Magento
0 132 posted 7 years ago by tomle123
Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button
1 396 posted 8 years ago by DNSBL
Requires filter added in ECP 2.1
2 101 posted 8 years ago by nciske
Add current class to single posts in Wordpres wp_nav_menu by adding a filter
0 193 posted 8 years ago by inflightatnight
Allows you to change the name of the "Posts" module within the admin section of WordPress.
0 83 posted 9 years ago by jamiebrwr
0 89 posted 9 years ago by ddabney
This code war written for a project I'm working on where a map of the world may need to be offset to center the view on specific areas. I'm also using it as a part of an iterative blur function to prevent seams from the blur operation. I would lik...
0 105 posted 9 years ago by Jamie
By using this snippet we can recover fields from a database by filtering these ones per a specific field.
1 116 posted 9 years ago by juanchifc
Requires PHP 5.2 with filter_var()
1 130 posted 10 years ago by Calvista
Very simple to use. **Calling:** $files = dirContents(DIR_PATH, [FILTER, [TYPE]]); **Examples:** $files = dirContens("my-dir"); _$files_ is array containing all, both files either directories $files = dirContens("my-dir",...
0 91 posted 10 years ago by Lostindream
In v1.6, the Thesis Theme has a bug which removes a necessary space in the HTML body tag if you add a filter targeting the thesis_body_classes hook. To get the native WP body_class function to work, use this code:
2 172 posted 10 years ago by joelhaus
Function to add custom body class in th Thesis theme for WordPress...Thanks to @girliegeek!
1 150 posted 10 years ago by joelhaus
从数据库中选出大于3小于13的纯字母域名,然后进行过滤,得到双拼域名。 增加一个拼音预判断,过滤掉前两个字母不符合拼音要求的字符串。
0 157 posted 11 years ago by zhengrenchi
// FUNCION BY Ahmet Alp Balkan // http://www.ahmetalpbalkan.com
2 162 posted 11 years ago by prf_q
0 95 posted 12 years ago by manec
Exclude Posts From Some Category 这样就可以在首页中不显示某些类别(比如asides)的帖子了
1 183 posted 14 years ago by championeer
« Prev 1 Next »