Changeset 1230927
- Timestamp:
- 08/26/2015 03:48:04 AM (11 years ago)
- File:
-
- 1 edited
-
simple-alert-boxes/tags/1.2/plugin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-alert-boxes/tags/1.2/plugin.php
r1230923 r1230927 25 25 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 26 */ 27 ?> 28 <?php 27 29 28 /** Head Enqueue **/ 30 29 function simple_alert_boxes_scripts() { … … 32 31 } 33 32 add_action( 'wp_enqueue_scripts', 'simple_alert_boxes_scripts' ); 34 ?>35 33 36 <?php37 34 /** ShortCode **/ 38 35 add_shortcode( 'alert', 'alert_output' ); … … 44 41 return '<div class="alert ' . $atts['type'] . '"><p>' . $atts['text'] . '' . $content . '</p></div>'; 45 42 } 46 ?>47 43 48 <?php49 44 /** TinyMCE Plugin **/ 50 45 function alert_boxes_tinymce() {
Note: See TracChangeset
for help on using the changeset viewer.