LLMS_Metabox_Course_Builder::get_title_html( string $title, boolean $url = false )
Get the HTML for a title, optionally as an anchor
Parameters Parameters
- $title
-
(string) (Required) title to display
- $url
-
(boolean) (Optional) url to link to
Default value: false
Return Return
(string)
Source Source
File: includes/admin/post-types/meta-boxes/class.llms.meta.box.course.builder.php
public function get_title_html( $title, $url = false ) { if ( $url ) { $title = sprintf( '<a href="%1$s">%2$s</a>', esc_url( $url ), $title ); } return $title; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.13.0 | Introduced. |