I believe, the hook is called differently
add_filter( 'manage_edit-product_columns', ... )
The ‘woocommerce_edit_product_columns’ is not a hook name, but a function name in WC 2.0
As for the access to global $woocommerce – as long as the WooCommerce plugin is loaded, it’s available. If, however, your plugin is loaded before WooCommerce (alphabetically), then you can should do something within a function hooked to ‘plugins_loaded’.
Related Posts:
- Create tabs inside Plugins Admin Page [closed]
- Remove action from plugin on other plugin
- WordPress Plugin Development In MVC Architecture, How?
- Allowing Two Developers Access to a Plugin on the WordPress.org Plugin Repository?
- How to build an API as a plugin
- WordPress wp-json API – Custom Post Type returns 403
- Create custom column in post table in wordpress
- Add .html extension to custom post type taxonomies
- How to load a new template page according to a particular URL?
- Translate wordpress plugin [closed]
- Styles and Scripts, Selectively enqueue across entire site
- Exclude custom post_type in sitemap generation?
- Removing WordPress Plugin Menu Item for a specific user
- The plugin generated x characters of unexpected output, $wpdb not defined
- How can I use RDFa with WordPress?
- How to add an attribute to the body tag with a plugin?
- Override the core function locate_template
- Use oEmbed in List Items
- Trigger renewal order emails for WooCommerce subscriptions for testing
- Set user ID at time of wp_create_user
- WordPress Ajax Callback
- Regex to Remove File Extension
- Portfolio + Blog: multisite or plugin?
- Collapse content [closed]
- Can’t add custom Taxonomy to Custom Post Type
- add_menu_page does not seem to work in a class
- Form isn’t inserting data into database with ajax plugin
- How can I get automatically anchors for every h2-heading?
- WordPress CodeHighlighter
- How would I go about creating a user ranked post popularity page?
- All of my custom posttypes are 404’ing
- WordPress: PHP code rendering in the wrong place
- ‘No Results Found’ on single post for custom post type
- Exporting post content from wordpress using WP All Export and wpautop() php function to include paragraph tags
- How to edit content before post update
- How to remove the inline styles from the content of a WYSIWYG editor field at the time of saving the post?
- How can I change the plugin update server for specific plugins?
- How to create an input field, and base the output on spreadsheet data? [closed]
- Blacklist IP After Using WordPress Plugin Detector?
- Install and activate plugins across 200 wordpress installations via SSH
- WordPress plugin subscribe2 not looking the same as before migration
- Admin style for just one plugin in dashboard
- How can I add few css or js file into my plugin
- Multiple instance of data in plugin custom database table on plugin activation
- Trouble adding tiny mce to textarea in custom plugin
- Js file is not adding using this code in functions.php
- Cart66 localization hardcode strings [closed]
- Customised plugin failed to install and activate
- Trying to create a table/list of my EventBrite course listings [closed]
- Why is one phpunit test throwing an error on one class when all other classes are similar without error?
- WP_Http response throws “Cannot use object of type WP_Error as array”
- XML parser plugin
- Is it safe to use admin-ajax.php in the frontend?
- How to get all posts belongs to a user between a certain date
- Using Variable in WordPress Translate Functions
- plugins not working in custom theme
- Add item to the woocommerce dashboard menu from a plugin
- Sucuri SiteCheck failing on domain with iThemes Security Pro plugin
- Multiple authors and readers restricted by role [closed]
- Display my plugins content based on a pages post_id
- Make get_permalink() work outside the Loop using filters
- How can I get someone to checkout as soon as they add a product to cart?
- Can you echo PHP code from a variable?
- Pluging with content for a specific page or post
- WordPress Plugin- How to Insert Html&JS code in specific Page and specific Div
- Restrict posts to customers with complete WooCommerce orders only
- Upload Image with a file URL and show dynamically on Frontend
- Use get_pages() before another plugin modifies it
- add products to WordPress site automatically
- How can i solve php upgrade problem
- Bash script to check available updates
- Submitting form to PHP
- Hide button after form submit and save state to localstorage
- How use get_plugin_updates() function?
- how override a define
- WordPress plugin blog creation
- Preserving existing functionality converting HTML to WordPress
- Modifying server’s response to API endpoint
- FTP access to NAS drive files/folders from WordPress site
- Change Jobs for WordPress templates
- Restoring a WordPress site
- Cron job emails blank
- Get content and send to 3rd party
- How to make wp multisite subdomain exist search
- Molpay recurring payment in WordPress
- Rewrite in plugin
- How To Edit User Profile In Front End?
- Is it possible to get a shortcode generated by a plugin, then, using a function, create a new post using that shortcode?
- Add predefined values to custom post plugin
- Theme Load Error
- How to copy data from user profile page (profile.php) to theme customizer
- Custom shortcode with dynamic rewrite
- Problem with wp_editor
- include plugin folder directly in theme folder to load faster page n wp
- Including a PHP file via a function that is part of a plugin?
- How do i remove “Powered by WordPress” from AMP?
- Publish post facebook page & twitter automatically [closed]
- Plugin Option Fire Custom Function After Save
- My wp_update_nav_menu action is firing twice
- Ajax button “Load more” is not loading correct language version posts for logged out users