| Server IP : 51.91.236.255 / Your IP : 216.73.217.120 Web Server : Apache System : Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : laureet ( 1012854) PHP Version : 8.0.30 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/laureet/www/wp-content/plugins/rhye-core/inc/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
add_action( 'widgets_init', 'arts_register_widgets' );
function arts_register_widgets() {
$widgets = array(
'logo' => 'Rhye_Widget_Logo',
'social' => 'Rhye_Widget_Social',
'cta' => 'Rhye_Widget_Call_To_Action',
);
foreach ( $widgets as $index => $value ) {
require_once __DIR__ . '/widgets/' . sanitize_key( $index ) . '-widget.php';
register_widget( $value );
}
}