LLMS_Twenty_Twenty_One::handle_certificate_title()
Don’t show the default “Untitled” post title for certificates without a title.
Description Description
Designers may opt to exclude the certificate title for aesthetic reasons, in this scenario we should simply not display a title.
Return Return
(void)
Source Source
File: includes/theme-support/class-llms-twenty-twenty-one.php
public static function handle_certificate_title() { if ( in_array( get_post_type(), array( 'llms_certificate', 'llms_my_certificate' ), true ) ) { remove_filter( 'the_title', 'twenty_twenty_one_post_title' ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |