/
/
home
/
melaqxso
/
nymetrocualumni.com
/
wp-content
/
plugins
/
give-recurring
/
src
/
Infrastructure
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.61
PHP 7.4.33
Dir:
/home/melaqxso/nymetrocualumni.com/wp-content/plugins/give-recurring/src/Infrastructure
Edit:
/home/melaqxso/nymetrocualumni.com/wp-content/plugins/give-recurring/src/Infrastructure/Notices.php
<?php namespace GiveRecurring\Infrastructure; /** * Helper class responsible for showing add-on notices. * * @package GiveRecurring\Infrastructure * @copyright Copyright (c) 2020, GiveWP */ class Notices { /** * Add notice * * @param string $type * @param string $description * @param bool $show */ public static function add( $type, $description, $show = true ) { Give()->notices->register_notice( [ 'id' => sprintf( 'give-recurring-notice-%s', $type ), 'type' => $type, 'description' => $description, 'show' => $show, ] ); } /** * GiveWP min required version notice. * * @since 1.0.0 * @return void */ public static function giveVersionError() { self::add( 'error', View::load( 'admin/notices/give-version-error' ) ); } /** * GiveWP inactive notice. * * @since 1.0.0 * @return void */ public static function giveInactive() { echo View::load( 'admin/notices/give-inactive' ); } }
Ukuran: 990 B