PHP

Copy-paste PHP snippets for WordPress and WooCommerce, tested on real client sites and explained line by line: admin users, payment gateways, custom search and more.

PHP Code Snippets

Sort Posts Dropdown in WordPress: Newest, Oldest, Title (Easy & Safe Code)

Add a safe sort posts dropdown in WordPress for newest, oldest, title or most comments, without a plugin.

View code

Block Email Domains in Fluent Forms: 2 Easy PHP Snippets

Block email domains in Fluent Forms on all forms or selected forms with two easy PHP snippets.

View code
Back to top