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
WordPress Snippets
48
snippets by
Ariffin Hamzah
Wordpress: Hide WP backend from subscribers
PHP
0
6
1812
Wordpress: output PHP notices and errors to log file
PHP
0
2
1911
Remove the Error Message on the WordPress Login Page
PHP
0
3
2197
Creating Your Own WordPress Dashboard Widgets
PHP
0
5
2382
Removing the WordPress Dashboard Widget
PHP
0
3
2471
Restricting Access to WordPress Menu Points in the Backend Based on the Username
PHP
0
3
2223
Replacing the WordPress Login Logo
PHP
0
6
2489
Hide an element from specific page in WordPress
PHP
1
4
3320
Add custom CSS to WordPress Admin
PHP
0
8
2563
Wordpress - Protec with .htaccess
PHP
1
8
1639
WordPress Enqueue Script and Styles Into Footer
PHP
0
2
7187
Disable the theme / plugin text editor in Admin
PHP
0
0
294
set website in maintenance mode
PHP
0
0
299
add login/logout link to main menu
PHP
0
0
313
load google webfonts
PHP
0
0
275
add social media sharing buttons
PHP
0
0
313
caching downloaded files
PHP
0
0
292
Redirect to checkout page after add to cart
PHP
0
0
280
Remove product categories from shop page
PHP
0
0
271
Removing company name from WooCommerce checkout
PHP
0
0
292
Unset Woocomerce Checkout Field
PHP
0
0
265
Remove the state field in the WooCommerce Checkout
PHP
0
0
287
Exclude a category from the WooCommerce category widget
PHP
0
0
283
Replace “Out of stock” by “sold”
PHP
0
0
256
Display “product already in cart” instead of “add to cart” button
PHP
0
0
247
Hide products count in category view
PHP
0
0
254
Make account checkout fields required
PHP
0
0
261
Add a custom field to a product variation
PHP
0
0
245
Set minimum order amount
PHP
0
0
255
Add email recipient when order completed
PHP
0
0
267
Make phone number not required
PHP
0
0
269
Adding Custom Fields To Emails
PHP
0
0
295
Add Content Under “Place Order” Button at WooCommerce Checkout
PHP
0
0
268
Add Text Before and After Add to Cart
PHP
0
0
266
Reorder Checkout Fields in WooCommerce
PHP
0
0
332
Change number of products display in WooCommerce product listing page
PHP
0
0
267
Disable WooCommerce Variable product price range
PHP
0
0
285
Remove WooCommerce Checkout fields
PHP
0
0
288
Deny Checkout if User Has Pending Orders
PHP
0
0
302
Disable Payment Method for Specific Category
PHP
0
0
287
Remove Checkout Terms & Conditions conditionally in WooCommerce
PHP
0
0
298
Add Payment Type to WooCommerce Admin Email
PHP
0
0
265
Up-sells products per page / per line
PHP
0
0
269
Remove product categories from shop page
PHP
0
0
243
Change add to cart button text
PHP
0
0
257
Products loop
PHP
0
0
279
Remove the breadcrumbs
PHP
0
0
302
Replace shop page title
PHP
0
0
299