Repository navigation
feat: opt into the Themeisle SDK Support Hub - #810
Merged
Merged
Conversation
Free users get a Help button on the PPOM screens to message the support team; it replaces the SDK float widget. The readme support section now mentions it next to the forum.
Contributor
|
Tip You can preview the changes in the Playground Plugin build for 788df09 is ready 🛎️!
|
Contributor
🌍 i18n String Review Report📊 Summary
➕ Added Strings (1) - Click to expand
|
pirate-bot
approved these changes
Nov 15, 2026
Contributor
There was a problem hiding this comment.
🟢 Approved
The Support Hub metadata matches the SDK 3.3.72 contract, and the Help button renders on the promised PPOM screens only.
Validation details
- Files reviewed: 8/8 changed files. The composer.lock hunk changes only the content hash.
- The SDK builds the
woocommerce_product_addon_support_hub_metadatafilter name and readsis_proandlinks, at tag v3.3.72. - On the sandbox site (PHP 8.3.36, WooCommerce 11.3.0), PPOM Fields and PPOM Settings show the Help launcher. Posts shows none
cd /workspace/checks/C5 && wp() { :; }; set -o pipefail && timeout 280 node screens.js head3 2>&1 | tee head3-screens.js…(run R17, exit 0)cd /workspace/checks/C5 && L0=$(wc -l < /var/www/html/wp-content/debug.log); timeout 200 node screens.js head4 > head4-s…(run R18, exit 0). Base shows nonecd /workspace/checks/C5 && L0=$(wc -l < /var/www/html/wp-content/debug.log); timeout 200 node screens.js base1 > base1-s…(run R20, exit 0). - The SDK applies the filter on
init. A de_DE locale logged no early translation noticeset -e; P=/var/www/html/wp-content/plugins; H=/workspace/head-plugin; rm -rf $H; mkdir -p $H; git -C /repo archive HEAD …(run R24, exit 0) `cat > /var/www/html/wp-content/mu-plugins/zz-c5-timing.php <<'EOF'
Untested areas
- PPOM Pro source is not in this repository. The check did not confirm that it defines `\PPOM_Pro\get_license_status` before `init`. - Help Scout delivery and the deactivation window were not exercised. - On base, the float-widget unit test errors on a missing SDK helper, not on its assertion.
Contributor
|
🎉 This PR is included in version 34.0.14 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PPOM now opts into the Themeisle SDK Support Hub, as Feedzy (Codeinwp/feedzy-rss-feeds#1372), Otter (Codeinwp/otter-blocks#3177) and Neve (Codeinwp/neve#4688) did. Free users get a Help button on PPOM's screens to message our support team, and the readme no longer points them only to the forum.
What changed
Support Hub: PPOM passes its metadata to the SDK. That is a Pro flag for a valid PPOM Pro license, and footer links to the documentation and the wordpress.org forum. The Help button shows on the PPOM Fields screens and on the PPOM Settings tab, which already report themselves to the SDK. The SDK's deactivation window replaces the old uninstall survey for the free plugin.
Pro flag: the flag reads PPOM Pro's stored license through
\PPOM_Pro\get_license_status(), asHelpersalready does. The SDK reads the metadata while it loads PPOM. At that time theproduct_ppom_license_statusfilter can still be missing, depending on load order.Float widget: removed. The SDK turns the float widget off for every product that opts into the Support Hub, so its metadata and the
images/help.svglogo were no longer used. The Help panel replaces its Documentation and support links. Its Upgrade link goes too, as in Feedzy.readme.txt: the Support section now mentions the Help button next to the support forum.
SDK:
codeinwp/themeisle-sdknow requires^3.3.71. Releases 3.3.69 and 3.3.70 shipped without the SDK's built JS. The lock is already on 3.3.72, so only its content hash changes.Note
PPOM has no
Pro Slugheader. Because of that, the SDK sends a licensed Pro site's messages withplan="pro"but without the price id, and with an emptylicense_status. Adding the header also makes the SDK Logger opt Pro sites into usage tracking by default. That is a separate decision, as it was for Otter.QA
Use PPOM without PPOM Pro. Go to
WP Admin → WooCommerce → PPOM Fields.Expect: a Help button at the bottom right of the screen. The old round help widget is gone.
Click Help.
Expect: the Help panel opens with the message form. Its footer shows Documentation and Community Forum.
Click Documentation, then Community Forum.
Expect: the PPOM documentation and the PPOM forum on wordpress.org open in new tabs.
Go to
WP Admin → Posts.Expect: no Help button.
Go to
WP Admin → Pluginsand click Deactivate under PPOM for WooCommerce.Expect: the Support Hub deactivation window opens, with the deactivation reasons.
Activate PPOM Pro with a valid license. Open Help on the PPOM Fields screen and send a test message.
Expect: the message reaches Help Scout tagged as Pro.
Review responses
\PPOM_Pro\get_license_statusbeforeinit: it does. In PPOM Pro, the function is declared at the top level ofppom.phpin thePPOM_Pronamespace, so it exists as soon as WordPress loads the plugin file. PPOM Pro's own license gate calls it while that file loads. The SDK reads the metadata later, oninit.