For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Button

Component design (has different styles and sizes):

How to use a component:

STM_LMS_Templates::show_lms_template(
    'components/button',
     array(
         'id'    => string|int, (required)
         'title' => string, (required)
         'link'  => string, (required)
         'icon'  => string, (required) ('left'|'right'|'')
         'style' => string, (required) ('primary'|'secondary'|'tertiary'|'outline'|'danger')
         'size'  => string, (required) ('sm'|'md')
     )
 );

Last updated

Was this helpful?