Protect Media shortcode

The shortcode “Protected media” prints protected media link. Please note: media should be set as protected before printing the link.
Shortcode attributes are:

  • “id”: ID of the protected media
  • “content”: Linked text

Example: [protected_media id=123]content[/protected_media]