SimpleCalendarAdminMetaboxesGet_Shortcode

Get a shortcode for the current calendar.

Defined (1)

The class is defined in the following location(s).

/includes/admin/metaboxes/get-shortcode.php  
  1. class Get_Shortcode implements Meta_Box { 
  2.  
  3. /** 
  4. * Output HTML. 
  5. * @since 3.0.0 
  6. * @param \WP_Post $post 
  7. */ 
  8. public static function html( $post ) { 
  9. simcal_print_shortcode_tip( $post->ID ); 
  10.  
  11. /** 
  12. * Save settings. 
  13. * @since 3.0.0 
  14. * @param int $post_id 
  15. * @param \WP_Post $post 
  16. */ 
  17. public static function save( $post_id, $post ) { 
  18. // This Meta Box does not have settings. 
  19.