I am writing a WordPress plugin with widgets, and this widget displays a link on the page, for example, for example:
<a href="<?php echo plugins_url('/ext_page.php', __FILE__); ?>">Link</a>
Now, on the / ext _page.php page, I need to get the parameters from the module itself, for example, for example:
$options = get_option('my_plugin_options');
But the get_option function does not seem to work on this page, is there any other way to get the parameters?
Please consult, Thank you!
source share