HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux box12.multicloud.host 4.18.0-553.52.1.el8_10.x86_64 #1 SMP Wed May 14 09:36:12 EDT 2025 x86_64
User: kashmira (1008)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: /home/kashmira/public_html/razitahir.com/wp-content/plugins/upress-widgets/upress-widgets.php
<?php
/**
 * Plugin Name: UrduPress Widgets
 * Description: Builder Widgets for UrduPress Theme.
 * Plugin URI:  https://stylothemes.com
 * Version:     1.1.0
 * Author:      StyloThemes
 * Author URI:  https://stylothemes.com
 * Text Domain: urdupress-widgets
 */

if(!defined('URDUPRESS_WIDGETS')) {
    define( 'URDUPRESS_WIDGETS', __FILE__ );
}
if(!defined('URDPRESS_PLUGIN_PATH')) {
    define( "URDPRESS_PLUGIN_PATH", plugin_dir_path(__FILE__) );
}
if(!defined('URDUPRESS_ASSETS_PATH')) {
    define( "URDUPRESS_ASSETS_PATH", plugins_url( 'assets/', __FILE__ ) );
}
if(!defined('URDUPRESS_WIDGET_ASSETS_PATH')) {
    define( "URDUPRESS_WIDGET_ASSETS_PATH", plugins_url( 'widgets/', __FILE__ ) );
}
/**
 * Translation.
 */
require URDPRESS_PLUGIN_PATH . 'inc/translations.php';
/**
 * Include helper functions class.
 */
require URDPRESS_PLUGIN_PATH . 'inc/Helper.php';

/**
 * Include the plugin loader class.
 */
require URDPRESS_PLUGIN_PATH . 'plugin-loader.php';

/**
 * Include the plugin settings page.
 */
require URDPRESS_PLUGIN_PATH . 'plugin-settings.php';

/**
 * Register default settings
 */
require URDPRESS_PLUGIN_PATH . 'inc/default-settings.php';
register_activation_hook( URDUPRESS_WIDGETS, 'coneblod_set_default_settings' );

/**
 * Database functions
 */
require_once URDPRESS_PLUGIN_PATH . 'inc/db.php';
register_activation_hook( URDUPRESS_WIDGETS, 'upress_post_views_table' );

/**
 * Include the Urdu Date class.
 */
require URDPRESS_PLUGIN_PATH . 'inc/urdu-date.php';

/**
 * Include WordPress widgets.
 */
require URDPRESS_PLUGIN_PATH . 'wordpress-widgets.php';

/**
 * Plugin update checker.
 */
require URDPRESS_PLUGIN_PATH . 'update-checker.php';