private function get_html() { $config = RMFunctions::get()->plugin_settings('ayah', true); self::set_config(); require_once RMCPATH . '/plugins/ayah/include/ayah.php'; $ayah = new AYAH(); $ayah->debug_mode($config['debug']); return $ayah->getPublisherHTML(); }
public function check() { $config = RMFunctions::get()->plugin_settings('recaptcha', true); $this->set_config(); include_once RMCPATH . '/plugins/ayah/include/ayah.php'; $ayah = new AYAH(); $ayah->debug_mode($config['debug']); $resp = $ayah->scoreResult(); return $resp; }