Submit
Path:
~
/
home
/
getwphos
/
public_html
/
cytogenx
/
wp-content
/
plugins
/
broken-link-checker
/
app
/
admin-modals
/
welcome
/
File Content:
class-view.php
<?php /** * BLC features welcome modal view. * * @link https://wordpress.org/plugins/broken-link-checker/ * @since 2.2.0 * * @author WPMUDEV (https://wpmudev.com) * @package WPMUDEV_BLC\App\Admin_Notice\Welcome * * @copyright (c) 2022, Incsub (http://incsub.com) */ namespace WPMUDEV_BLC\App\Admin_Modals\Welcome; // Abort if called directly. defined( 'WPINC' ) || die; use WPMUDEV_BLC\Core\Utils\Abstracts\Base; /** * Class View * * @package WPMUDEV_BLC\App\Admin_Notice\Welcome */ class View extends Base { /** * The unique id that can be used by react. Sent over from Controller. * * @var int $unique_id * * @since 2.2.0 */ public static $unique_id = null; /** * Renders the output. * * @param array $params Optional parameters ideal to hold the unique id generated in controller. * @return void Renders the output. * @since 2.2.0 */ public function render( $params = array() ) { self::$unique_id = isset( $params['unique_id'] ) ? $params['unique_id'] : null; ?> <div class="sui-wrap wrap-blc wrap-blc-welcome-modal <?php echo 'wrap-' . esc_attr( self::$unique_id ); ?>"> <?php $this->render_body(); ?> </div> <?php } /** * Renders view body. */ public function render_body() { ?> <div id="<?php esc_attr_e( self::$unique_id ); ?>"></div> <?php } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
class-controller.php
4530 bytes
0644
class-view.php
1340 bytes
0644
N4ST4R_ID | Naxtarrr