HEX
Server: nginx/1.18.0
System: Linux vps-9dcdb12e 5.15.0-176-generic #186-Ubuntu SMP Fri Mar 13 11:01:42 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.24
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /var/www/lascalaswidnik.pl/wp-content/plugins/related-post/includes/class-settings.php
<?php
if ( ! defined('ABSPATH')) exit;  // if direct access

class class_related_post_settings{

    public function __construct(){

		add_action( 'admin_menu', array( $this, '_menu_init' ), 12 );
    }

	public function settings(){
		include('menu/settings.php');

    }

	public	function _menu_init(){

		add_menu_page(__('Related Post','related-post'), __('Related Post','related-post'), 'manage_options', 'related_post_settings', array( $this, 'settings' ), 'dashicons-align-right');
    }
}
	
new class_related_post_settings();