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


Top ↑

Return Return

(string)


Top ↑

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;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.