Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
PHP snippets by Dmitry Rodionov
Fetch all images from the directory
PHP
0
1
1664
cURL example
PHP
0
0
2338
Wordpress bredcrumbs function
PHP
0
1
2330
Declare Multiple Widgetized Areas in Wordpress
PHP
0
2
1610
PHP JQuery – Trick Ajax external site (cURL)
PHP
0
0
3703
Wordpress disable update notifications in admin console
PHP
0
0
1425
How to remove menus in WordPress dashboard
PHP
0
2
1413
Force download file
PHP
0
10
1448
Simple WHOIS php
PHP
0
1
1257
Seconds into a time convertation
PHP
0
9
1475
PHP Cache snippet
PHP
0
1
1311
Automatic db backup function
PHP
0
1
1328
Redirect user according to a browser language
PHP
0
5
1497
How to completely disable Reviews Tab
PHP
0
8
1385
Get Only The URL Of The Previous And Next Posts In WordPress
PHP
0
0
8497
Limit Post Excerpt Length Using Number Of Words
PHP
0
0
1303
Option tree social links render
PHP
0
1
2287
Wordpress display an Array under alphabetical letters using PHP
PHP
0
0
1305
WordPress ACF and Relevanssi custom fields highlighting
PHP
0
0
1481
Search by date range in admin console
PHP
0
0
1295