try this code. Paste in to function.php
add_action('admin_menu', 'custom_page');
function custom_page() {
add_submenu_page( 'woocommerce', 'Name of page', 'Name of item', 'manage_options', 'custom-slug', 'custom_page_content' );
}
function custom_page_content() {
echo 'Page content';
}
Related Posts:
- Over write plugin templates
- Woocommerce Shipping module available only for type of products [closed]
- How to prevent action in ajax request, when in admin side?
- How to stop activating a plugin and show admin notice when dependent plugins minimum version is not met
- woocommerce_package_rates not fired when wordpress woocommerce accessed as non ajax
- Filtering WooCommerce Orders by Category
- WooCommerce: after install hook
- Change Dashboard URL from wp-admin to wp-admin/index.php
- add a hook of Woocommerce to a plugin but it only shows and doesn’t function properly
- ACF Fields are not showing up on Homepage
- Display Woocommerce attribute name above product title
- {status}_{post_type} does not run correctly?
- wordpress plugin translation not working
- Order shipped by which driver[hook for woocoomerce order staus changed and popup in admin panel ] [closed]
- Woocommerce Add Variation Product to Cart from custom link [closed]
- WooCommerce – How to Add a Custom Field to Cart Items and Cart Totals [closed]
- Customizing subject in comment notification e-mails
- WP showing “warning: call_user_func_array()”, What to do?
- Which hook should be used to validate custom form fields on the login form?
- Hook (upgrader_process_complete) running moment
- Adding dynamic section to WordPress
- woocommerce product attributes
- How to filter content post only on save
- Filter or action hook to insert content on admin pages before tag
- merging an array to an existing array using add_filter
- template_redirect not being called when using ajax
- Plugin custom Action Hook not working
- Is it possible to set up multistore in Woocommerce? [closed]
- Hook to generate a dynamic sitemap with “All in One SEO Pack” Plugin
- How to correctly detect accessing wp-content/uploads?
- WooCommerce E-Check payment gateway disappeared when site switched to multi-site
- woocommerce_order_status_completed action hook not working [closed]
- How to update billing_email when user_email is updated [closed]
- How to configure two SMTP Server for wordpress
- Woocommerce plugin for minimum order and add-to-card-step
- Change wordpress current_time function to different timezone
- Automatically add attributes to woocommerce product?
- Using a post-signup hook to get user details
- Woocommerce API HTTP Response 401
- Trigger Elementor Popup via code [closed]
- How to use WP-CLI / WC-CLI to bulk import 1000s of products (variable and simple)?
- woocommerce payment gateway callback not firing [closed]
- WordPress Keeps Logging Out – What Tests Can I Run to Solve This?
- Programmatically Process Order through WooCommerce/Stripe Payment Gateway [closed]
- creating a custom shop page display on archive woocommerce
- Are there action hooks for comments?
- How to add a new column with text fields to WooCommerce Cart List?
- How to use filter to disable adding a product to wishlist?
- Woocommerce: limit user to see only the products he created
- How do I get the Payzone WooCommerce payment gateway plugin to show up in the settings? [closed]
- Error with get_price (and others) in self-written plugin to show price
- How to change WooCommece variation data programmtically [closed]
- .php file for woocommerce edit category? [closed]
- Advanced Custom Fields (acf) – Filter Relationship by Taxonomies not Post Type
- WordPress Multi-Step Product Search
- Woocommerce Free shipping method [closed]
- dynamically create callback functions inside a for loop
- Function added to hook “new_to_publish” not executing – custom plugin
- WordPress Phone Field Check (use numbers, spaces and pluses)
- Can export gallery but can’t import it Wp all import
- Get product categories and add them to a custom taxonomy
- How to Get Category Name When Export Products
- woocommerce remove coupon link does not work
- Plugins to generate reflinks in WordPress
- Use a hook or filter, or overwrite this Gamipress function?
- Hook from plugin doesn’t fire up from external PHP script
- WoCommerce Cart is not showing pricing
- Is there a hook similar to “save_post” which only fires AFTER the post is completely published?
- How to add label/badge on bookable product based on their booking status
- save_post hook partly firing in update post
- How to Fix WordPress multisite woocommerce 403 file error
- Adding discount functionality to the cart
- How to find the file path in WordPress?
- Show post object of any page in frontend
- Woocommerce Attribute price for non-variations
- Change Woo Custom Endpoint Titles from a Plugin
- Use action, filter, or hook to append HTML to WordPress plugin function
- Woocommerce functions in custom class, avoid errors
- Passing function into add_action always returns the first argument
- Hook to display element as product on category page
- Is it possible to disable a theme programmatically?
- Fetching users data from REST API
- Automatically check “Enable stock management at product level” to the existing products?
- Change hook to add_action in a plugin class
- Adding/ Removing actions for plugins
- plugin not hooking to my custom hook
- Unable to sync woocommerce variations
- Modify a plugin’s content
- Run one-time script calling plugin functions
- Plugin hook breaks new WP 4.0 media library grid view?
- Unable to show 4 products in a row
- Woocommerce Large Variations Shows Out of Stock Items [closed]
- Why does theme need woocommerce to show images / content on front page?
- how do I solve Installation failed: There has been a critical error on your website
- WooCommerce product prices not showing up correctly [closed]
- woocommerce show cities state as dropdown list
- WordPress Hooks : Where to place callbacks that repetitively yield the same effect?
- how to add meta for order in woocommerce
- WooCommerce REST API aborts connection [closed]
- Product customizing quiz – quiz adding products to the cart