Shortcode in wordpress
Short code is a simple set of functions for creating macro codes for use in post content.
The `add_shortcode () ` function is used to register a short code handler. It takes two parameters: the short code name (the string used in a post body), and the callback function name.
Here test is string used in page or post body and displayname is callback function.