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
1670
Wordpress: output PHP notices and errors to log file
PHP
0
2
1770
Remove the Error Message on the WordPress Login Page
PHP
0
3
2033
Creating Your Own WordPress Dashboard Widgets
PHP
0
5
2227
Removing the WordPress Dashboard Widget
PHP
0
3
2298
Restricting Access to WordPress Menu Points in the Backend Based on the Username
PHP
0
3
2052
Replacing the WordPress Login Logo
PHP
0
6
2336
Hide an element from specific page in WordPress
PHP
1
4
3074
Add custom CSS to WordPress Admin
PHP
0
8
2402
Wordpress - Protec with .htaccess
PHP
1
8
1546
WordPress Enqueue Script and Styles Into Footer
PHP
0
2
6924
Disable the theme / plugin text editor in Admin
PHP
0
0
216
set website in maintenance mode
PHP
0
0
216
add login/logout link to main menu
PHP
0
0
226
load google webfonts
PHP
0
0
199
add social media sharing buttons
PHP
0
0
232
caching downloaded files
PHP
0
0
213
Redirect to checkout page after add to cart
PHP
0
0
194
Remove product categories from shop page
PHP
0
0
194
Removing company name from WooCommerce checkout
PHP
0
0
217
Unset Woocomerce Checkout Field
PHP
0
0
199
Remove the state field in the WooCommerce Checkout
PHP
0
0
200
Exclude a category from the WooCommerce category widget
PHP
0
0
217
Replace “Out of stock” by “sold”
PHP
0
0
183
Display “product already in cart” instead of “add to cart” button
PHP
0
0
186
Hide products count in category view
PHP
0
0
177
Make account checkout fields required
PHP
0
0
180
Add a custom field to a product variation
PHP
0
0
177
Set minimum order amount
PHP
0
0
179
Add email recipient when order completed
PHP
0
0
199
Make phone number not required
PHP
0
0
201
Adding Custom Fields To Emails
PHP
0
0
217
Add Content Under “Place Order” Button at WooCommerce Checkout
PHP
0
0
192
Add Text Before and After Add to Cart
PHP
0
0
192
Reorder Checkout Fields in WooCommerce
PHP
0
0
236
Change number of products display in WooCommerce product listing page
PHP
0
0
196
Disable WooCommerce Variable product price range
PHP
0
0
203
Remove WooCommerce Checkout fields
PHP
0
0
218
Deny Checkout if User Has Pending Orders
PHP
0
0
207
Disable Payment Method for Specific Category
PHP
0
0
214
Remove Checkout Terms & Conditions conditionally in WooCommerce
PHP
0
0
219
Add Payment Type to WooCommerce Admin Email
PHP
0
0
185
Up-sells products per page / per line
PHP
0
0
200
Remove product categories from shop page
PHP
0
0
174
Change add to cart button text
PHP
0
0
190
Products loop
PHP
0
0
211
Remove the breadcrumbs
PHP
0
0
213
Replace shop page title
PHP
0
0
214