llms_get_certificate_orientations()
Retrieves registered certificate orientations.
Return Return
(array) Key value array where the array key is the orientation ID and the value is the translated name of the orientation.
Source Source
File: includes/functions/llms.functions.certificate.php
function llms_get_certificate_orientations() { $orientations = array( 'portrait' => __( 'Portrait', 'lifterlms' ), 'landscape' => __( 'Landscape', 'lifterlms' ), ); /** * Filters the list of available certificate orientations. * * @since 6.0.0 * * @param array $orientations Array of orientations. */ return apply_filters( 'llms_certificate_orientations', $orientations ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |