WordPress Code Snippets
How to exclude products from being listed
Sometimes you need to exclude products from being viewed in WooCommerce catalog, to hide WooCommerce products. Here is the code you can use to do that easily.
How to disable Plugin and Theme edits and installs using WordPress admin panel
Add this code to your config.php:
How to solve “To perform the requested action, WordPress needs to access your web server”
To solve that “Provide your FTP credentials to proceed” – simply add this code to your config.php file:
Typical Plugin Code Errors
Escaping Variables and options must be escaped when echo’d Much related to sanitizing everything, all variables that are echoed need to be escaped when they’re echoed, so it can’t hijack…
Add new WordPress user via FTP
Add this to your functions.php:
Get in touch!
Send us a message, we are
happy to provide assistance or a project quote.