Changeset 1430 for sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/callout-boxes.php
- Timestamp:
- 03/19/2015 10:37:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/callout-boxes.php
r879 r1430 27 27 'tip' => __( 'Tip:', 'wporg' ), 28 28 'alert' => __( 'Alert:', 'wporg' ), 29 'tutorial' => __( 'Tutorial:', 'wporg' ), 29 30 'warning' => __( 'Warning:', 'wporg' ) 30 31 ); … … 84 85 85 86 /** 87 * Output callback for the `[tutorial]` shortcode. 88 * 89 * @access public 90 * 91 * @param array $atts Shortcode attributes. 92 * @param string $content Shortcode content. 93 * @return string Shortcode output as HTML markup. 94 */ 95 public function tutorial_shortcode( $atts, $content = '' ) { 96 return $this->build_callout_output( $content, 'tutorial' ); 97 } 98 99 /** 86 100 * Output callback for the `[warning]` shortcode. 87 101 * … … 133 147 134 148 $callouts = new WPorg_Handbook_Callout_Boxes(); 135
Note: See TracChangeset
for help on using the changeset viewer.