Nevermind guys,
I found the problem by myself..
Original and wrong code:
$this->pages = [
[
'page_title' => 'WT Domain Check',
'menu_title' => 'WTDomCheck',
'capability' => 'manage_options',
'menu_slug' => 'wtdomaincheck',
'callback' => $this->LoadSettingTemplate(),
'icon_url' => 'dashicons-store',
'position' => 117
]
];
Corrected line:
'callback' => array($this,'LoadSettingTemplate'),
Related Posts:
- Pass PHP variable to javascript
- Does the number of downloads displayed for a plug-in in the WordPress.org plug-in directory include automatic updates?
- Namespaces in WordPress – How do I initiate the main class?
- wordpress get meta value by meta key
- What areas to Unit test while building a plugin?
- Which method is best to enqueue scripts
- Function to activate WordPress theme inside a plugin
- What is the correct way to check if WP_Filesystem can write to a directory without aking for username / password?
- Is there a WordPress Plugin that allows voting “does this coupon work” on specific links like Retailmenot
- Errors while using ajax from external wordpress page
- Pass A Value From Outside To A Plugin Variable
- shortcode doesn’t work
- Built in admin ajax hooks?
- Force plugin to fail activation
- Could someone please help me to add category id with in this query so this will return posts from a certain category?
- How to handle autoloading with composer by keeping the WordPress naming conventions?
- Current user in plugin returns NULL
- What are the benefit in adding hook in the init() hook?
- How can I implement a notification system in wordpress?
- Minimum PHP Required for WordPress
- building plugin and it is displaying above plugins page
- load_theme_textdomain path
- Dynamic CSS Vs Inline Issues in Code any Way around in a WordPress Themes?
- Is license need for free wordpress plugin
- Building an email signup form. Where should the information be saved in the DB?
- plugin development: problem with functions
- Create entire wordpress as a github repositery?
- Building plugin with changeable custom post type values…advice needed
- How to get all of the activate_plugin action parameters?
- What can be reason for no plugin-strings available under stable section on translate.wordpress.org?
- Conditional attributes and logic per product category
- Why Is This Code Causing The Admin Bar to Disappear?
- WP_Terms_List_Table Quick Edit not working
- Displaying Custom Sidebar Without Modifying Theme’s Core File?
- WordPress checkbox and Illegal string offset
- Is it fair to use MIT licensed code in WordPress plugins? [closed]
- How to add an element right after the article using jQuery?
- How to reset wordpress but not plugins and settings
- Include a php file from another plugin
- How do I make a secure API call from a shortcode when a button is clicked?
- WordPress REST API Plugin Development – Add Custom Endpoint
- Hook into the rendering of a WordPress Template
- Can the uniqueness of the plugin file/plugin slug and version number be trusted?
- get_option / wp_localize_script Not Working in OOP Plug In
- Save user total active time after login in wordpress [closed]
- Switch from wp-cron to a server cron job
- Calling a save function from a “submit” button
- How to Show Author image and url in WordPress plugin directory? [closed]
- WordPress plugin: efficient way to store large data
- jQuery code didn’t run on my plugin
- The Events Calendar Plugin – List View Background Colour Issue [closed]
- Select Form Element Not Saving from Plugin Options
- My widget won’t update its values when save is clicked
- Custom characters of tinymce editor are saved as question mark
- Can we give Pending as a Role to wp_insert_user?
- Custom Module, Extending WP with a Plugin?
- How do I profit from a Plugin?
- How to automatically activate users after registration without activation email?
- Themes conflicts and overrides my WordPress Support widget Plugin styles
- Disable Author Archive just for certain roles in bulk
- Seperate plugin and theme files
- Pass PHP variable to javascript
- Table of contents (TOC) plugin is not showing header tag
- Custom page from wp admin area
- How to properly use wp_mail() in my own plugin?
- Unexpected add action function in WP plugin
- I created a plugin with ‘view page’ that uses MYSQL + PHP. When I use wp_insert_post(), it turns everything to HTML
- list of custom post by custom field in frontend
- How to implement color picker from WordPress in my boilerplate plugin?
- custom post type plugin error [closed]
- Make downloadable ebook read online without download option
- How to properly enqueue jQuery knob on WordPress without conflict?
- WordPress rewrite rule depend on meta values not ids
- Problem with wordpress has_action() function
- Offering a freemium plugin (a free version + paid version)
- In woocommerce, is there any way to empty wordpress default mini cart when order placed?
- WordPress Product Detail and catalog
- Can you develop themes and plugins while using the hosting services BlueHost? [closed]
- WordPress plugin changes not updating
- wordpress ajax pagination object value does not change
- Google analytic issue in wordpress
- Create Database Tables on Plugin Activation hook
- What’s the preferred method of writing AJAX-enabled plugins?
- Change page according to fetched GET Parameters
- Shortcode registered from a plugin not recognized
- How to change a specific page to custom page?
- wp_update_post call really slow when official Facebook plugin is installed
- Plugin keeps saying needs to be updated and it’s in a constant loop [closed]
- How use Dynamic hyperlink on each wordpress post?
- _e in wordpress +
- WordPress Code Access to Restricted Content without Registration
- Activate plugin button do nothing [closed]
- add_meta_box showing blank screen in my page
- is_user_logged_in() undefined at shutdown in plugin context
- What are Seeds? [closed]
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode
- Plugin translations are not loaded from translate.wordpress.org
- Use inline callable for hooks and filters
- Error in using ‘admin_enqueue_scripts’ action through a class
- How do i fix this error?