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
1660
cURL example
PHP
0
0
2332
Wordpress bredcrumbs function
PHP
0
1
2323
Declare Multiple Widgetized Areas in Wordpress
PHP
0
2
1607
PHP JQuery – Trick Ajax external site (cURL)
PHP
0
0
3699
Wordpress disable update notifications in admin console
PHP
0
0
1422
How to remove menus in WordPress dashboard
PHP
0
2
1411
Force download file
PHP
0
10
1444
Simple WHOIS php
PHP
0
1
1249
Seconds into a time convertation
PHP
0
9
1470
PHP Cache snippet
PHP
0
1
1305
Automatic db backup function
PHP
0
1
1324
Redirect user according to a browser language
PHP
0
5
1488
How to completely disable Reviews Tab
PHP
0
8
1382
Get Only The URL Of The Previous And Next Posts In WordPress
PHP
0
0
8485
Limit Post Excerpt Length Using Number Of Words
PHP
0
0
1298
Option tree social links render
PHP
0
1
2283
Wordpress display an Array under alphabetical letters using PHP
PHP
0
0
1304
WordPress ACF and Relevanssi custom fields highlighting
PHP
0
0
1476
Search by date range in admin console
PHP
0
0
1293