Snippets Archive

Codes that are meant to be useful for others. Commercial use of my code strictly prohibited.

Remove REST API Link Tag from WP Site Header

In one of my previous post, I discussed how to disable REST API in WP. Unfortunately, disabling the REST-API does not remove the API link tag on the the header section of your WP site ...

Disable REST API in WordPress

With the introduction of REST API in WordPress v4.4, this blogging platform has become one step close towards becoming a full-fledged web application ...

Force HTTPS on Server using .htaccess

If you are familiar with the Apache web server then you must have known that the .htaccess file at the very root directory of your website plays a very important role ...

Remove "Add to Cart" Button from Products Archive Page

On WooCommerce, by default you should see "Add to cart" button on product archive page. However, the label for this button may vary depending on the type of product and it's various attributes that is being used ...

Remove oEmbed Discovery Link Tag

By default WP supports oEmbed which allows users to add media content (videos, music, images etc.) within their post very easily ...