コード例 #1
0
/**
 * Initialize
 */
function rublon2factor_plugins_loaded()
{
    // Initialize Rublon plugin helper
    RublonHelper::plugins_loaded();
    // Check if plugin registration should be attempted
    // in this run
    RublonHelper::checkRegistration();
    // check for Rublon-type actions
    RublonHelper::checkForActions();
}
コード例 #2
0
/**
 * Perform tasks after WP is fully loaded
 * 
 * Plugin registration in the Rublon API moved here, as
 * too early initialization conflicted with some plugins.
 */
function rublon2factor_wp_loaded()
{
    // Check if plugin registration is in effect
    RublonHelper::checkForActions(RublonHelper::PAGE_WP_LOADED);
}