functions.php 217 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
<?php

namespace WP_Cron_Control_Revisited;

/**
 * Retrieve a plugin variable
 */
function get_plugin_var( $variable ) {
	return property_exists( Main::instance(), $variable ) ? Main::instance()->$variable : null;
}