Use this code and check<a href="'. get_permalink('dashboard') .'?dashboard=myprofile" class="wpum-profile-account-edit">'. __(' (Edit Account)', 'wpum') .'</a>
. In get_permalink() function you can only pass the post ids or page titles to get the page url but you have added additional parameters with that so it was not getting the correct url. So I have edited the code to append the extra parameters after the function.
Related Posts:
- How to Rewrite WordPress URL for a Plugin
- Mapping multiple URLs to same page
- Plugin Development – Get Admin Url (Including cases where wp-admin is not used)
- How to pass a more variable with page/subpage in Wordprees URL?
- Any way to make Apache’s internal redirect work?
- Mapping multiple URLs to same page
- How to Rewrite WordPress URL for a Plugin
- How to Rewrite WordPress URL for a Plugin
- A tool to analyze rewrite rules? [closed]
- Symbolic Links on dev box with plugins and stylesheets
- How to call images from your plugins image folder?
- Getting the Site URL Including the Front Base
- Making a plugin file accessible via url rewrite?
- How to add multiple custom URL variables?
- Custom Rewriting to Plugin with Parameters
- Dynamic URL to reference custom PHP files
- Having Problem On Getting WP Post Gallery Images URL
- Filter to change the content of 404 page
- Add rewrite rule in plugin: with .htaccess in plugin folder or using WordPress functions
- Removing rules from .htaccess
- URLs of plugin resources?
- Woocommerce different URL for every table placed in the restaurant
- Rewrite Point Doesn’t Work on Custom Taxonomy
- redirect 301 old url to new url
- Rewrite url for existing page without flush_rewrite_rules
- Custom rewrite rule serves content, but returns 404 error code
- URL rewriting must be activated manually for my plugin
- Customize multisite site creation with user data
- How to restore WP 5.4 behaviour where a numeric string could added to each page URL and parsed as “page” in WP 5.5?
- How to change the URL pattern for single post view
- Why doesn’t flush_rewrite_rules run on plugin activation?
- Redirect traffic to plugin
- How to set “Site Address (URL)” programmatically on WP multisite?
- Best way to hook a custom url?
- Append country to ‘pretty’ url but serve same page
- How to rewrite url wordpress?
- How To Consistently Enforce Rewrite Rule in Plugin Development
- How can I rewrite a URL to pass requests to a custom method via AJAX? (I can’t use admin-ajax.php)
- Adding rewrite rule dynamically
- rewrite URL based on selected taxonomy for post page
- Remove custom post type slug from URL and add taxonomy Slug
- Help writing custom function with rewrite endpoint that generates a page from dynamic content
- Possible to get all posts with my shortcode?
- add_rewrite_rule behaving strangely
- wordpress url correction
- HowTo to add my rewrite rules at the beginning, redirect to the right page and flush the rules on plugin activation?
- Can I use %category% like Templates in my Plugin?
- Create page (not the post type) dynamically
- How can I add rewrite rules to a class-based plugin?
- Two sets of url one content?
- How to list all images used on a specific page?
- How to rewrite URL and get the values?
- configuration of .htaccess for add_rewrite_rule to make sense
- Forward an old url rewrite scheme to a new one?
- Get logged in username in wordpress url
- URL problem: www.sitename.com/blog and www.sitename.com/learn using same WP installation
- Rewriting Image URLs from dynamic to original
- Custom Path for a Plugin
- The URL of images on my website changed after being set as featured image
- How to save page URL as a favorite
- Custom post type change permalink query
- Getting incorrect filepath inside custom block front-end output using @wordpress/create-block tutorial
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- Multisite problem with unexisting paths to CSS etc
- Check current URL is 404 in pre_option_stylesheet filter hook
- Change cannonical URL after changing url with add_rewrite_rule()
- Disabling Yoast, All-in-One, and Rank Math on Certain Pages within a Plugin
- Creating a return url for getting data from external api
- WordPress custom url without using any of the custom tags given
- How does one make a URL return dynamic JSON with custom Content Type?
- There is how to change url domain on some posts?
- Return raw image proxy for wordpress plugin
- Using meta_key & meta_value in add_rewrite_rule
- How to force download a plugin generated file?
- Plugins and how to assign urls to content
- How to change URL of my pages?
- Rewriting URLs with a query string
- Issue on Getting Images URL of the Post Gallery
- How to retrive previous Domain URL in Wp
- How can I send an id over the url?
- Custom slug in url for CPT and taxonomy
- add_rewrite_rule not working
- Use custom clean URLs for a plug in
- Virtual Page with Registration form
- How to use permalink query to go to specific tabs in posts
- Lost WordPress website access after changing URL [closed]
- WordPress custom link with my plugin
- URL rewrite parameter lost (add_rewrite_rule)
- Menu Structure and URL structure, with Pages and Post-Type-Posts
- Personalized URL for non-logged in WordPress
- esc_url, esc_url_raw or sanitize_url?
- Custom rewrite, url path with parameters to a page
- WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?
- Objective Best Practices for Plugin Development? [closed]
- Plugin options table,is the data serialized
- Plugin templates vs Parent Theme
- WordPress shortcode using WPB_GET_IP
- WordPress Does not grab the string sends useing AJAX response, wp_ajax hook
- How can I query 3 posts from diferente categories (one of each category)
- Update custom settings field in plugin