Function __global->find_post_id_url
Definitions
sources/cns_topicview.php
- Find the URL to a post.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $post_id | AUTO_LINK | No | No | required parameter | N/A | N/A | The post ID |
Returns
- The URL
- Type: URLPATH
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the URL to a post.
*
* @param AUTO_LINK $post_id The post ID
* @return URLPATH The URL
*/
function find_post_id_url(int $post_id) : string
* Find the URL to a post.
*
* @param AUTO_LINK $post_id The post ID
* @return URLPATH The URL
*/
function find_post_id_url(int $post_id) : string

