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
1846
Wordpress: output PHP notices and errors to log file
PHP
0
2
1946
Remove the Error Message on the WordPress Login Page
PHP
0
3
2231
Creating Your Own WordPress Dashboard Widgets
PHP
0
5
2424
Removing the WordPress Dashboard Widget
PHP
0
3
2512
Restricting Access to WordPress Menu Points in the Backend Based on the Username
PHP
0
3
2257
Replacing the WordPress Login Logo
PHP
0
6
2522
Hide an element from specific page in WordPress
PHP
1
4
3391
Add custom CSS to WordPress Admin
PHP
0
8
2599
Wordpress - Protec with .htaccess
PHP
1
8
1672
WordPress Enqueue Script and Styles Into Footer
PHP
0
2
7247
Disable the theme / plugin text editor in Admin
PHP
0
0
319
set website in maintenance mode
PHP
0
0
327
add login/logout link to main menu
PHP
0
0
338
load google webfonts
PHP
0
0
298
add social media sharing buttons
PHP
0
0
335
caching downloaded files
PHP
0
0
326
Redirect to checkout page after add to cart
PHP
0
0
305
Remove product categories from shop page
PHP
0
0
295
Removing company name from WooCommerce checkout
PHP
0
0
314
Unset Woocomerce Checkout Field
PHP
0
0
290
Remove the state field in the WooCommerce Checkout
PHP
0
0
312
Exclude a category from the WooCommerce category widget
PHP
0
0
308
Replace “Out of stock” by “sold”
PHP
0
0
280
Display “product already in cart” instead of “add to cart” button
PHP
0
0
268
Hide products count in category view
PHP
0
0
276
Make account checkout fields required
PHP
0
0
284
Add a custom field to a product variation
PHP
0
0
272
Set minimum order amount
PHP
0
0
281
Add email recipient when order completed
PHP
0
0
289
Make phone number not required
PHP
0
0
293
Adding Custom Fields To Emails
PHP
0
0
320
Add Content Under “Place Order” Button at WooCommerce Checkout
PHP
0
0
289
Add Text Before and After Add to Cart
PHP
0
0
288
Reorder Checkout Fields in WooCommerce
PHP
0
0
365
Change number of products display in WooCommerce product listing page
PHP
0
0
296
Disable WooCommerce Variable product price range
PHP
0
0
311
Remove WooCommerce Checkout fields
PHP
0
0
313
Deny Checkout if User Has Pending Orders
PHP
0
0
332
Disable Payment Method for Specific Category
PHP
0
0
306
Remove Checkout Terms & Conditions conditionally in WooCommerce
PHP
0
0
340
Add Payment Type to WooCommerce Admin Email
PHP
0
0
288
Up-sells products per page / per line
PHP
0
0
288
Remove product categories from shop page
PHP
0
0
268
Change add to cart button text
PHP
0
0
284
Products loop
PHP
0
0
305
Remove the breadcrumbs
PHP
0
0
330
Replace shop page title
PHP
0
0
326