Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gc-notion/gcn-populate-select.php: Added video demonstrating how to get a Notion property ID and updated the docs header to include that the snippet also works with Status properties. #995

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gc-notion/gcn-populate-select.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Gravity Connect // Notion // Populate Select Field with Notion Database Options
* https://gravitywiz.com/documentation/gravity-connect-notion/
*
* Populate a Select or Multi-Select field with the options from a Notion Database Select
* Populate a Dropdown or Multi-Select field with the options from a Notion Database Status, Select
* or Multi-Select property.
*
* Instructions:
Expand All @@ -14,7 +14,8 @@
* 2. Change the $field_id, $database_id, and $property_id variables to match your form and Notion database.
*
* > 💡 The $database_id and $property_id can be found in the Javascript developer console in a GC Notion
* > feed settings AFTER the feed is connected to a database.
* > feed settings AFTER the feed is connected to a database. An video demonstrating how to get
* > a property ID can be viewed here: https://www.loom.com/share/30dd8d83750f424c8cf85a8f4dd8f5f7
*/

add_filter( 'gform_pre_render_FORMID', function( $form, $ajax, $field_values ) {
Expand Down
Loading