You appear to be a bot. Output may be restricted
Description
Mark up content with code tags.
Escapes all HTML, so <
gets changed to <
and displays correctly.
Used almost exclusively within labels and text in user interfaces added by Genesis.
Usage
$string = genesis_code( $content );
Parameters
- $content
- ( string ) required – Content to be wrapped in code tags.
Returns
string Content wrapped in code
tags.
Source
File name: genesis/lib/functions/formatting.php
Lines:
1 to 6 of 6
function genesis_code( $content ) { return '<code>' . esc_html( $content ) . '</code>'; }