| 1 | <?php |
||
| 17 | class Wordlift_Install_3_18_3 extends Wordlift_Install { |
||
| 18 | /** |
||
| 19 | * @inheritdoc |
||
| 20 | */ |
||
| 21 | protected static $version = '3.18.3'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @inheritdoc |
||
| 25 | */ |
||
| 26 | public function install() { |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Set default article term to posts |
||
| 32 | * that exists in `wl_relation_instances` table. |
||
| 33 | * |
||
| 34 | * @since 3.18.3 |
||
| 35 | * |
||
| 36 | * @return mixed False if the `article` doesn't exists. |
||
| 37 | */ |
||
| 38 | public function set_article_term_to_posts() { |
||
| 87 | |||
| 88 | } |
||
| 89 |
Instead of relying on
globalstate, we recommend one of these alternatives:1. Pass all data via parameters
2. Create a class that maintains your state