| 1 |
<?php |
| 2 |
/** |
| 3 |
* This file is used to update the database version of the plugin. |
| 4 |
* |
| 5 |
* @link https://wpsmartpost.com/ |
| 6 |
* @since 3.0.6 |
| 7 |
* |
| 8 |
* @package Smart_Post_Show |
| 9 |
* @subpackage Smart_Post_Show/includes |
| 10 |
*/ |
| 11 |
|
| 12 |
if ( ! defined( 'ABSPATH' ) ) { |
| 13 |
exit; // Exit if accessed directly. |
| 14 |
} |
| 15 |
|
| 16 |
update_option( 'smart_post_show_version', '3.0.6' ); |
| 17 |
update_option( 'smart_post_show_db_version', '3.0.6' ); |
| 18 |
|
| 19 |
|
| 20 |
// If the transient exists, delete it. |
| 21 |
if ( get_transient( 'spspc_plugins' ) ) { |
| 22 |
delete_transient( 'spspc_plugins' ); |
| 23 |
} |
| 24 |
|