col2_3_shortcode
Two-Third Columns.
Description
Parameters (2)
- 0. $atts
- The atts.
- 1. $content — Optional. (constant) =>
null
- The content.
Usage
if ( !function_exists( 'col2_3_shortcode' ) ) { require_once '/functions/shortcodes.php'; } // The atts. $atts = null; // The content. $content = null; // NOTICE! Understand what this does before running. $result = col2_3_shortcode($atts, $content);
Defined (1)
The function is defined in the following location(s).
- /functions/shortcodes.php
- function col2_3_shortcode($atts, $content = null) {
- return '<div class="two_third">' . do_shortcode($content) . '</div>';
- }