Function __global->seo_meta_load_for
Definitions
sources/global3.php
- Load the specified resource's meta information into the system for use on this page.Also, if the title is specified then this is used for the page title.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $type | ID_TEXT | No | No | required parameter | N/A | N/A | The type of resource (e.g. download) |
| $id | ID_TEXT | No | No | required parameter | N/A | N/A | The ID of the resource |
| $title | ?string | No | No | Null | N/A | N/A | The page-specific title to use, in Comcode or plain-text format with possible HTML entities included [Comcode will later be stripped] (null: none) |
Preview
Code (PHP)
/**
* Load the specified resource's meta information into the system for use on this page.Also, if the title is specified then this is used for the page title.
*
* @param ID_TEXT $type The type of resource (e.g. download)
* @param ID_TEXT $id The ID of the resource
* @param ?string $title The page-specific title to use, in Comcode or plain-text format with possible HTML entities included [Comcode will later be stripped] (null: none)
*/
function seo_meta_load_for(string $type, string $id, ?string $title = null)
* Load the specified resource's meta information into the system for use on this page.Also, if the title is specified then this is used for the page title.
*
* @param ID_TEXT $type The type of resource (e.g. download)
* @param ID_TEXT $id The ID of the resource
* @param ?string $title The page-specific title to use, in Comcode or plain-text format with possible HTML entities included [Comcode will later be stripped] (null: none)
*/
function seo_meta_load_for(string $type, string $id, ?string $title = null)
