LLMS_Twenty_Twenty_One::maybe_disable_post_navigation( string $html )

Disable 2021 theme post navigation on LifterLMS post types


Parameters Parameters

$html

(string) (Required) Post navigation HTML.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/theme-support/class-llms-twenty-twenty-one.php

	public static function maybe_disable_post_navigation( $html ) {

		if ( in_array( get_post_type(), array( 'course', 'llms_membership', 'lesson', 'llms_quiz', 'llms_assignment', 'llms_group' ), true ) ) {
			return '';
		}
		return $html;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.10.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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