Warning: This method has been deprecated. LLMS_Achievement_User::get_content_html() is deprecated with no replacement instead.

Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.


Gets post content and replaces merge fields with user meta-data

Return Return


Top ↑

Source Source

File: includes/achievements/class.llms.achievement.user.php

	private function get_content_html() {

		$this->find    = array(
		$this->replace = array(
			date( 'M d, Y', strtotime( current_time( 'mysql' ) ) ),

		$content = $this->format_string( $this->content );

				'content' => $this->content,
				'title'   => $this->format_string( $this->title ),
				'image'   => $this->image,
		return ob_get_clean();


Top ↑

Changelog Changelog

Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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