-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #290 from infinum/feature/forms
Feature/forms
- Loading branch information
Showing
78 changed files
with
1,256 additions
and
665 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
id: intro | ||
title: Intro | ||
--- | ||
|
||
**Coming soon** |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
id: intro | ||
title: Intro | ||
--- | ||
|
||
**Coming soon** |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
id: entries | ||
title: Entries | ||
--- | ||
|
||
**Coming soon** |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
id: settings-data | ||
title: Settings data | ||
--- | ||
|
||
This filter allows adding a custom settings page in the WordPress admin area. Useful when creating custom option pages for Forms add-on plugins. | ||
|
||
```php | ||
add_filter('es_forms_admin_settings_data', 'getSettingsConfig'); | ||
|
||
/** | ||
* Settings config data. | ||
* | ||
* @return array<mixed> | ||
*/ | ||
public function getSettingsConfig(): array | ||
{ | ||
return [ | ||
self::SETTINGS_TYPE_KEY => [ | ||
'settings' => 'es_forms_settings_addon_<setting-name>', | ||
'settingsGlobal' => 'es_forms_settings_global_<setting-name>', | ||
'type' => 'addon', | ||
'use' => '<setting-name>-use', | ||
'labels' => [ | ||
'title' => \__('Title', '<text-domain>'), | ||
'desc' => \__('Description', '<text-domain>'), | ||
'icon' => '<svg-icon>', | ||
], | ||
], | ||
]; | ||
} | ||
``` |
12 changes: 0 additions & 12 deletions
12
website/forms/php/filters/block/checkboxes/additional-content.md
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
website/forms/php/filters/block/checkboxes/additional-content.mdx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
id: additional-content | ||
title: Additional content | ||
--- | ||
|
||
import { AdditionalContentFilter } from './../../../../../src/docs/filters'; | ||
|
||
<AdditionalContentFilter filter={'checkboxes'} /> | ||
|
12 changes: 0 additions & 12 deletions
12
website/forms/php/filters/block/country/additional-content.md
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
website/forms/php/filters/block/country/additional-content.mdx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
id: additional-content | ||
title: Additional content | ||
--- | ||
|
||
import { AdditionalContentFilter } from './../../../../../src/docs/filters'; | ||
|
||
<AdditionalContentFilter filter={'country'} /> | ||
|
12 changes: 0 additions & 12 deletions
12
website/forms/php/filters/block/date/additional-content.md
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
id: additional-content | ||
title: Additional content | ||
--- | ||
|
||
import { AdditionalContentFilter } from './../../../../../src/docs/filters'; | ||
|
||
<AdditionalContentFilter filter={'date'} /> | ||
|
12 changes: 0 additions & 12 deletions
12
website/forms/php/filters/block/field/additional-content.md
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
id: additional-content | ||
title: Additional content | ||
--- | ||
|
||
import { AdditionalContentFilter } from './../../../../../src/docs/filters'; | ||
|
||
<AdditionalContentFilter filter={'field'} /> | ||
|
Oops, something went wrong.