wp-multisite-subscriptions/inc/functions/documentation.php
2025-06-15 19:45:09 +08:00

25 lines
546 B
PHP

<?php
/**
* Documentation Functions
*
* @package WP_Ultimo\Functions
* @since 2.0.11
*/
// Exit if accessed directly
defined('ABSPATH') || exit;
/**
* Returns the content.
*
* @since 2.0.0
*
* @param string $slug The slug of the link to be returned.
* @param bool $return_default If we should return a default value.
* @return string
*/
function wu_get_documentation_url($slug, $return_default = true) {
return \WP_Ultimo\Documentation::get_instance()->get_link($slug, $return_default);
} // end wu_get_documentation_url;