This is the answer to the main question. You cannot access other plugin’s variables. If they’re programmed using Object Oriented Programming pattern, then maybe you will be able to access a few public variables. But it is not the standard WordPress way.
The best way to do it is by using actions and filters.
If you want to show products that match a certain condition, I suggest you create new admin menu page, then use WPDB to do custom SQL query there.
And if you don’t know how the WooCommerce and Gravity Forms data is structured, just browse the database using phpmyadmin or something that you’re familiar with, and see the structure there.
I hope it helps.
Related Posts:
- Can I display the widget admin in the page admin?
- Change admin startpage to Pages-page?
- Only allow new subpages to be created
- Is there a way to remove or hide individual pages on the Edit Pages screen?
- How to disable Page Attributes dropdown in wp-admin
- How to change redirect after moving a page to trash?
- Dashboard–> All Pages “How to create folders?”
- How to make certain page templates visible to admin only
- Add a Menu Link (to a WordPress Page) in the Admin Menu/Sidebar
- Remove pages from backend list *and* update counter accordingly
- Edit page’s “Restore the backup” link does nothing
- Missing ‘Page Attributes’ in page edit
- Admin pages, edit notes of the title of posts and pages
- Can’t locate a hidden private page
- Role – edit page but not publish
- Adding Page URL to the Pages Admin Table
- How to use is_admin in page content?
- Change page name in admin list
- logout redirect only from admin page
- Is it possible to restrict access to specific pages in the admin area based on the page slug?
- Publish page by invoking submit via jQuery
- accessing the Admin page
- remove “Edit” from select pages
- Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)
- Group Pages based on Parent in Admin Area
- disable trashability for certain pages
- Custom admin menu for a selection of pages
- How to configure WordPress to handle 75,000 pages?
- How to disable posts and use pages only
- How to display by default only published posts/pages in the admin area?
- Create a “Dummy” parent page for a hierarchy in page listing?
- Password protected post or page – error message by wrong password?
- Get next/previous cousin page
- I want only my sub-pages to be clickable in the navbar
- How restrict page for users logged? [closed]
- How do I turn comments off for pages, but not posts?
- Is there a way to lock certain pages from being edited by anyone other then the admin?
- List Child Pages of Parent Parent Page (Child pages from Grand Parent)
- How to add meta boxes to Pages
- Form action redirect to the same page
- How do I create a separate page for each author?
- Overriding the currently selected menu item
- How to incorporate Documentation into wordpress?
- Missing parent page attribute
- Hiding Page by Title from Editing
- Get page by its ID and display it on another one
- Add a predefined page to site
- creating and styling a within a page
- What are trackbacks?
- How to enumerate a list of posts?
- How can I redirect to my custom page without loading the Dashboard itself?
- Remove ID page from wp_count
- Ad custom admin page like WordPress customizer [closed]
- category slug and page slug same
- New user Registration data imported into Page
- Could be a namespace conflict (?) with login form and register form on the same page
- Updated WordPress, now getting errors on site
- Edit Parent page drop menu when creating a page
- Get parent of current page
- How to list a page tree?
- Attachment pages stealing page slugs
- How to add an external php page with wordpress?
- Exclude pages by menu order
- WordPress pages not working out correctly with HTML
- How to exclude authors from get_pages()
- Folder wordpress page redirect
- Dynamic page with comments
- How to rewrite a page url
- Display pages in alphabetical order
- Listing all child-pages of a parent-page on the parent-page and each child-page?
- Loading scripts on specific pages using PHP in footer.php
- How to recover pages from site with only ftp? [closed]
- get_page() – Only variables can be passed by reference
- Need Help with Custom ModRewrite
- upgrade has caused page content to disappear
- Website jumps to top when scrolling down
- Can’t find the page that is using a slug
- Translate dashboard metabox
- Revert a Draft page to its original version
- Loading ACF Field content on a 404.php page
- My edits are not saved
- Cannot Create A Page or Post in WordPress 5.2.1
- Can I use the wordpress loop in pages?
- Add addtional page parameter before loading the page
- Get largest page id by title?
- How to insert current user ID in a shortcode?
- Make wordpress pages accessible for Woocommerce logged in users only
- How to show the view more on my display of pages shortcode
- Have subdirectory name act as $_GET or $_POST data
- Create page excerpts for landinpage
- Why my site scroll top when end load pages
- Cannot add media to a page
- Creating multiple pages
- Create nonce in frontend page to edit profile
- Paginate Links not working
- Adding Media button to only pages
- How to remove title (home) from static page skeleton template
- How to get from sql query page id and retrieve it url and title
- Is it possible to keep the page title from actually appearing at the top of the page?
- Missing page on wordpress “Pages” dashboard [closed]