Server IP : 15.235.198.142 / Your IP : 216.73.216.197 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/2of3/wp-content/plugins/security-1747135779/ |
Upload File : |
<?php /** * @package makeiteasy-back-to-top * @author Lovro Hrust <lovro@makeiteasy.hr> * @copyright 2023-2025 Lovro Hrust * * @wordpress-plugin * Plugin Name: Makeiteasy Back To Top * Description: Back to top block * Requires at least: 6.0 * Requires PHP: 7.4 * Version: 1.2.1 * Author: Lovro Hrust * License: GPL-2.0-or-later * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: makeiteasy-back-to-top * */ /** * Registers the block using the metadata loaded from the `block.json` file. * Behind the scenes, it registers also all assets so they can be enqueued * through the block editor in the corresponding context. * * @see https://developer.wordpress.org/reference/functions/register_block_type/ */ function create_block_makeiteasy_back_to_top_block_init() { register_block_type( __DIR__ . '/build' ); wp_set_script_translations( 'makeiteasy-back-to-top-editor-script', 'makeiteasy-back-to-top' ); } add_action( 'init', 'create_block_makeiteasy_back_to_top_block_init' );