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
1830
Wordpress: output PHP notices and errors to log file
PHP
0
2
1931
Remove the Error Message on the WordPress Login Page
PHP
0
3
2214
Creating Your Own WordPress Dashboard Widgets
PHP
0
5
2401
Removing the WordPress Dashboard Widget
PHP
0
3
2494
Restricting Access to WordPress Menu Points in the Backend Based on the Username
PHP
0
3
2239
Replacing the WordPress Login Logo
PHP
0
6
2510
Hide an element from specific page in WordPress
PHP
1
4
3356
Add custom CSS to WordPress Admin
PHP
0
8
2584
Wordpress - Protec with .htaccess
PHP
1
8
1657
WordPress Enqueue Script and Styles Into Footer
PHP
0
2
7220
Disable the theme / plugin text editor in Admin
PHP
0
0
310
set website in maintenance mode
PHP
0
0
313
add login/logout link to main menu
PHP
0
0
327
load google webfonts
PHP
0
0
286
add social media sharing buttons
PHP
0
0
327
caching downloaded files
PHP
0
0
313
Redirect to checkout page after add to cart
PHP
0
0
295
Remove product categories from shop page
PHP
0
0
282
Removing company name from WooCommerce checkout
PHP
0
0
303
Unset Woocomerce Checkout Field
PHP
0
0
276
Remove the state field in the WooCommerce Checkout
PHP
0
0
299
Exclude a category from the WooCommerce category widget
PHP
0
0
293
Replace “Out of stock” by “sold”
PHP
0
0
270
Display “product already in cart” instead of “add to cart” button
PHP
0
0
255
Hide products count in category view
PHP
0
0
265
Make account checkout fields required
PHP
0
0
273
Add a custom field to a product variation
PHP
0
0
259
Set minimum order amount
PHP
0
0
269
Add email recipient when order completed
PHP
0
0
279
Make phone number not required
PHP
0
0
280
Adding Custom Fields To Emails
PHP
0
0
310
Add Content Under “Place Order” Button at WooCommerce Checkout
PHP
0
0
279
Add Text Before and After Add to Cart
PHP
0
0
276
Reorder Checkout Fields in WooCommerce
PHP
0
0
350
Change number of products display in WooCommerce product listing page
PHP
0
0
282
Disable WooCommerce Variable product price range
PHP
0
0
298
Remove WooCommerce Checkout fields
PHP
0
0
300
Deny Checkout if User Has Pending Orders
PHP
0
0
319
Disable Payment Method for Specific Category
PHP
0
0
297
Remove Checkout Terms & Conditions conditionally in WooCommerce
PHP
0
0
314
Add Payment Type to WooCommerce Admin Email
PHP
0
0
276
Up-sells products per page / per line
PHP
0
0
281
Remove product categories from shop page
PHP
0
0
259
Change add to cart button text
PHP
0
0
272
Products loop
PHP
0
0
294
Remove the breadcrumbs
PHP
0
0
318
Replace shop page title
PHP
0
0
313