add_code_to_theme | R Documentation |
Adds a new code to a specific theme in the code hierarchy. The code can be added to the root level or nested within existing themes.
add_code_to_theme(node, code_name, theme_path, description = "")
node |
Root node of the hierarchy tree |
code_name |
Character string specifying the name of the code to add |
theme_path |
Character vector specifying the path to the target theme |
description |
Optional character string providing a description of the code |
Updated node with new code added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.