芝麻web文件管理V1.00
编辑当前文件:/home/r5772835/public_html/anarchy.ycreate.jp/wp-content/plugins/optinmonster/OMAPI/Partners.php
$type, 'id' => $id, ) ); } /** * The partner urls are no longer used, but this method is in place to ensure * back-compatibility with the optin_monster_action_link filter, to determine * if certain partner features are visible. * * @since 2.0.0 * * @return string|boolean */ public static function has_partner_url() { $url = self::get_partner_url(); return false === strpos( $url, 'optinmonster.com/wp' ) ? $url : false; } /** * Get the Partner ID. * * @since 2.0.0 * * @return string */ public static function get_id() { $id = self::get_trial_id(); if ( empty( $id ) ) { $id = self::get_sas_id(); } return $id; } /** * Get the referrer, if stored. * * @since 2.10.0 * * @return string Referrer */ public static function referred_by() { return sanitize_text_field( get_option( 'optinmonster_referred_by', '' ) ); } }