for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Upgrade to Premium Add-ons Meta Box
*
* @package SimpleCalendar/Admin
*/
namespace SimpleCalendar\Admin\Metaboxes;
use SimpleCalendar\Abstracts\Meta_Box;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
* Upgrade to Premium Add-ons.
* @since 3.1.6
class Upgrade_To_Premium implements Meta_Box {
* Output HTML.
* @param \WP_Post $post
public static function html( $post ) {
simcal_upgrade_to_premium();
* Save settings.
* @param int $post_id
public static function save( $post_id, $post ) {
// This meta box has no persistent settings.