This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2016-09-28 21:41:25 +02:00

22 lines
496 B
PHP

<?php
/* Init Functions ---------------------------------------------------------------------------------------------------*/
function yarpp_init() {
global $yarpp;
$yarpp = new YARPP;
}
function yarpp_plugin_activate($network_wide) {
update_option('yarpp_activated', true);
}
function yarpp_set_option($options, $value = null) {
global $yarpp;
$yarpp->set_option($options, $value);
}
function yarpp_get_option($option = null) {
global $yarpp;
return $yarpp->get_option($option);
}