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
1456
cURL example
PHP
0
0
2025
Wordpress bredcrumbs function
PHP
0
1
2018
Declare Multiple Widgetized Areas in Wordpress
PHP
0
2
1364
PHP JQuery – Trick Ajax external site (cURL)
PHP
0
0
3419
Wordpress disable update notifications in admin console
PHP
0
0
1192
How to remove menus in WordPress dashboard
PHP
0
2
1197
Force download file
PHP
0
10
1253
Simple WHOIS php
PHP
0
1
1007
Seconds into a time convertation
PHP
0
9
1231
PHP Cache snippet
PHP
0
1
1087
Automatic db backup function
PHP
0
1
1094
Redirect user according to a browser language
PHP
0
5
1235
How to completely disable Reviews Tab
PHP
0
8
1174
Get Only The URL Of The Previous And Next Posts In WordPress
PHP
0
0
7704
Limit Post Excerpt Length Using Number Of Words
PHP
0
0
1057
Option tree social links render
PHP
0
1
2042
Wordpress display an Array under alphabetical letters using PHP
PHP
0
0
1072
WordPress ACF and Relevanssi custom fields highlighting
PHP
0
0
1199
Search by date range in admin console
PHP
0
0
1075