Anyone can use the easy-embed Clef application creation iframe to allow users of their plugin to quickly create a Clef application for their site without leaving the plugin environment.
When you embed the iframe, you must provide a variety of variables, which allow Clef to customize the experience for the user. Each of these variables must be passed as a URL parameter with a URL encoded value.
-
domain
— The domain that the website is hosted on. In WordPress, we get this value by accessingurlencode(get_option('site_url'))
. -
name
- The name of the application that will be created. In WordPress we get this value by accessingurlencode(get_option('blogname'))
.