Filter Shortcode

How to execute shortcode in any string or custom field in WordPress

You can use WordPress filter the_content and apply it to any string or custom field data to display its HTML content as well as render or execute any shortcode in it. Here is a code snippet, where a string with some HTML content and a shortcode in it. The above code will not just display

URL / Rewrite Filter

How to get WordPress REST API to use SITE URL instead of HOME URL in Guttenberg editor

If you have a different SITE URL and HOME URL ( WordPress Address ), then, WordPress will use HOME URL for WordPress API. Here is an example: If your SITE URL is but your HOME URL or WordPress Address ( URL ) is, Then, your WordPress API URL will be But you