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
1365
cURL example
PHP
0
0
1912
Wordpress bredcrumbs function
PHP
0
1
1902
Declare Multiple Widgetized Areas in Wordpress
PHP
0
2
1279
PHP JQuery – Trick Ajax external site (cURL)
PHP
0
0
3276
Wordpress disable update notifications in admin console
PHP
0
0
1106
How to remove menus in WordPress dashboard
PHP
0
2
1109
Force download file
PHP
0
10
1164
Simple WHOIS php
PHP
0
1
909
Seconds into a time convertation
PHP
0
9
1147
PHP Cache snippet
PHP
0
1
998
Automatic db backup function
PHP
0
1
994
Redirect user according to a browser language
PHP
0
5
1151
How to completely disable Reviews Tab
PHP
0
8
1091
Get Only The URL Of The Previous And Next Posts In WordPress
PHP
0
0
7157
Limit Post Excerpt Length Using Number Of Words
PHP
0
0
954
Option tree social links render
PHP
0
1
1935
Wordpress display an Array under alphabetical letters using PHP
PHP
0
0
979
WordPress ACF and Relevanssi custom fields highlighting
PHP
0
0
1052
Search by date range in admin console
PHP
0
0
968