From ff93e60dddc8850b662d2932b39c1391f6b3ddd8 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Fri, 16 Apr 2021 14:38:56 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 30ca3fd..f1fa95c 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,26 @@ To let Pronamic WordPress Documentor analyse your codebase, you have to use the vendor/bin/wp-documentor parse src ``` +## Command Line Usage + +### `--memory-limit` + +Specifies the memory limit in the same format `php.ini` accepts. + +Example: `--memory-limit=-1` + +### `--exclude` + +Exclude the specified folders/files. + +Example: `--exclude=vendor,wordpress` + +### `--ignore-vcs-ignored` + +If the search directory contains a .gitignore file, you can reuse those rules to exclude files and directories from the results with this option. + +Example: `--ignore-vcs-ignored` + ## Examples ``` From 98efafe791724db4a2fdfd80bcb3c5dc7cbd01d7 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Fri, 16 Apr 2021 16:50:09 +0200 Subject: [PATCH 2/2] Version 1.1.0. --- CHANGELOG.md | 5 +- README.md | 17 +-- bin/wp-documentor | 2 +- templates/markdown.php | 2 +- tests/docs/hooks.md | 54 ++++----- tests/docs/phpdocumentor-actions.rst | 169 +++++++++++++++++++-------- tests/docs/wordpress-hooks.md | 2 +- 7 files changed, 161 insertions(+), 90 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf95a96..c3a4b67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [1.1.0] - 2014-04-16 ### Added - Added `--exclude` option. - Added `--ignore-vcs-ignored` option. @@ -17,5 +19,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - First Release. -[Unreleased]: https://github.com/pronamic/wp-documentor/compare/1.0.0...HEAD +[Unreleased]: https://github.com/pronamic/wp-documentor/compare/1.1.0...HEAD +[1.1.0]: https://github.com/pronamic/wp-documentor/releases/tag/1.1.0 [1.0.0]: https://github.com/pronamic/wp-documentor/releases/tag/1.0.0 diff --git a/README.md b/README.md index f1fa95c..0176a22 100644 --- a/README.md +++ b/README.md @@ -63,20 +63,21 @@ Example: `--ignore-vcs-ignored` ## Examples ``` -bin/wp-documentor parse tests/source -bin/wp-documentor parse tests/source --format=hookster-actions -bin/wp-documentor parse tests/source --format=hookster-filters +bin/wp-documentor parse ./tests/source ``` ``` -bin/wp-documentor parse tests/source --format=hookster --type=actions --output=tests/docs/hookster-actions.json -bin/wp-documentor parse tests/source --format=hookster --type=filters --output=tests/docs/hookster-filters.json -bin/wp-documentor parse tests/source --format=markdown --output=tests/docs/hooks.md +bin/wp-documentor parse ./tests/source --format=hookster --type=actions --output=tests/docs/hookster-actions.json +bin/wp-documentor parse ./tests/source --format=hookster --type=filters --output=tests/docs/hookster-filters.json ``` ``` -bin/wp-documentor parse tests/source --format=phpdocumentor-rst --type=actions --output=tests/docs/phpdocumentor-actions.rst -bin/wp-documentor parse tests/source --format=phpdocumentor-rst --type=filters --output=tests/docs/phpdocumentor-filters.rst +bin/wp-documentor parse ./tests/source --format=markdown --output=tests/docs/hooks.md +``` + +``` +bin/wp-documentor parse ./tests/source --format=phpdocumentor-rst --type=actions --output=tests/docs/phpdocumentor-actions.rst +bin/wp-documentor parse ./tests/source --format=phpdocumentor-rst --type=filters --output=tests/docs/phpdocumentor-filters.rst ``` ## Alternatives diff --git a/bin/wp-documentor b/bin/wp-documentor index 89c75ba..a130a21 100755 --- a/bin/wp-documentor +++ b/bin/wp-documentor @@ -35,7 +35,7 @@ use Symfony\Component\Console\Output\StreamOutput; use Symfony\Component\Console\Style\SymfonyStyle; use Symfony\Component\Finder\Finder; -$application = new Application( 'Pronamic WordPress Documentor', '1.0.0' ); +$application = new Application( 'Pronamic WordPress Documentor', '1.1.0' ); $application->register( 'parse' ) ->addArgument( 'source', InputArgument::REQUIRED, 'Directory to scan for hooks extraction.' ) diff --git a/templates/markdown.php b/templates/markdown.php index f4d4e0a..43edd4d 100644 --- a/templates/markdown.php +++ b/templates/markdown.php @@ -70,7 +70,7 @@ printf( 'Generated by Pronamic WordPress Documentor %s', 'https://github.com/pronamic/wp-documentor', - '1.0.0' + '1.1.0' ); echo '

'; diff --git a/tests/docs/hooks.md b/tests/docs/hooks.md index 74736ce..8988bfb 100644 --- a/tests/docs/hooks.md +++ b/tests/docs/hooks.md @@ -26,7 +26,7 @@ Version | Description ------- | ----------- `2.9.0` | -Source: [tests/source/actions.php](../source/actions.php), [line 3](../source/actions.php#L3-L15) +Source: [tests/source/actions.php](../source/actions.php), [line 11](../source/actions.php#L11-L23) ### `good_doc_dynamic_action_{$option}` @@ -48,7 +48,7 @@ Version | Description ------- | ----------- `2.9.0` | -Source: [tests/source/actions.php](../source/actions.php), [line 17](../source/actions.php#L17-L29) +Source: [tests/source/actions.php](../source/actions.php), [line 25](../source/actions.php#L25-L37) ### `good_doc_double_quotes_dynamic_action_{$option}` @@ -70,7 +70,7 @@ Version | Description ------- | ----------- `2.9.0` | -Source: [tests/source/actions.php](../source/actions.php), [line 31](../source/actions.php#L31-L43) +Source: [tests/source/actions.php](../source/actions.php), [line 39](../source/actions.php#L39-L51) ### `missing_since_static_action` @@ -87,7 +87,7 @@ Argument | Type | Description `$old_value` | `mixed` | The old option value. `$value` | `mixed` | The new option value. -Source: [tests/source/actions.php](../source/actions.php), [line 45](../source/actions.php#L45-L55) +Source: [tests/source/actions.php](../source/actions.php), [line 53](../source/actions.php#L53-L63) ### `missing_since_dynamic_action_{$option}` @@ -103,7 +103,7 @@ Argument | Type | Description `$old_value` | `mixed` | The old option value. `$value` | `mixed` | The new option value. -Source: [tests/source/actions.php](../source/actions.php), [line 57](../source/actions.php#L57-L67) +Source: [tests/source/actions.php](../source/actions.php), [line 65](../source/actions.php#L65-L75) ### `missing_since_double_quotes_dynamic_action_{$option}` @@ -119,7 +119,7 @@ Argument | Type | Description `$old_value` | `mixed` | The old option value. `$value` | `mixed` | The new option value. -Source: [tests/source/actions.php](../source/actions.php), [line 69](../source/actions.php#L69-L79) +Source: [tests/source/actions.php](../source/actions.php), [line 77](../source/actions.php#L77-L87) ### `missing_param_static_action` @@ -142,7 +142,7 @@ Version | Description ------- | ----------- `2.9.0` | -Source: [tests/source/actions.php](../source/actions.php), [line 81](../source/actions.php#L81-L92) +Source: [tests/source/actions.php](../source/actions.php), [line 89](../source/actions.php#L89-L100) ### `missing_param_dynamic_action_{$option}` @@ -164,7 +164,7 @@ Version | Description ------- | ----------- `2.9.0` | -Source: [tests/source/actions.php](../source/actions.php), [line 94](../source/actions.php#L94-L105) +Source: [tests/source/actions.php](../source/actions.php), [line 102](../source/actions.php#L102-L113) ### `missing_param_double_quotes_dynamic_action_{$option}` @@ -186,7 +186,7 @@ Version | Description ------- | ----------- `2.9.0` | -Source: [tests/source/actions.php](../source/actions.php), [line 107](../source/actions.php#L107-L118) +Source: [tests/source/actions.php](../source/actions.php), [line 115](../source/actions.php#L115-L126) ### `no_doc_static_action` @@ -198,7 +198,7 @@ Argument | Type | Description `$old_value` | | `$value` | | -Source: [tests/source/actions.php](../source/actions.php), [line 120](../source/actions.php#L120-L120) +Source: [tests/source/actions.php](../source/actions.php), [line 128](../source/actions.php#L128-L128) ### `no_doc_dynamic_action_{$option}` @@ -209,7 +209,7 @@ Argument | Type | Description `$old_value` | | `$value` | | -Source: [tests/source/actions.php](../source/actions.php), [line 121](../source/actions.php#L121-L121) +Source: [tests/source/actions.php](../source/actions.php), [line 129](../source/actions.php#L129-L129) ### `no_doc_double_quotes_dymanic_action_{$option}` @@ -220,7 +220,7 @@ Argument | Type | Description `$old_value` | | `$value` | | -Source: [tests/source/actions.php](../source/actions.php), [line 122](../source/actions.php#L122-L122) +Source: [tests/source/actions.php](../source/actions.php), [line 130](../source/actions.php#L130-L130) ### `test` @@ -305,7 +305,7 @@ Version | Description ------- | ----------- `2.9.0` | -Source: [tests/source/union-types.php](../source/union-types.php), [line 3](../source/union-types.php#L3-L12) +Source: [tests/source/union-types.php](../source/union-types.php), [line 11](../source/union-types.php#L11-L20) ## Filters @@ -329,7 +329,7 @@ Version | Description ------- | ----------- `3.9.0` | -Source: [tests/source/filters.php](../source/filters.php), [line 2](../source/filters.php#L2-L13) +Source: [tests/source/filters.php](../source/filters.php), [line 11](../source/filters.php#L11-L22) ### `good_dynamic_filter_{$option}` @@ -351,7 +351,7 @@ Version | Description ------- | ----------- `2.6.0` | -Source: [tests/source/filters.php](../source/filters.php), [line 15](../source/filters.php#L15-L26) +Source: [tests/source/filters.php](../source/filters.php), [line 24](../source/filters.php#L24-L35) ### `good_double_quotes_dynamic_filter_{$option}` @@ -373,7 +373,7 @@ Version | Description ------- | ----------- `2.6.0` | -Source: [tests/source/filters.php](../source/filters.php), [line 28](../source/filters.php#L28-L39) +Source: [tests/source/filters.php](../source/filters.php), [line 37](../source/filters.php#L37-L48) ### `missing_since_static_filter` @@ -389,7 +389,7 @@ Argument | Type | Description `$mce_translation` | | `$mce_locale` | `string` | Locale. -Source: [tests/source/filters.php](../source/filters.php), [line 41](../source/filters.php#L41-L50) +Source: [tests/source/filters.php](../source/filters.php), [line 50](../source/filters.php#L50-L59) ### `missing_since_dynamic_filter_{$option}` @@ -405,7 +405,7 @@ Argument | Type | Description `$value` | `mixed` | The new, unserialized option value. `$old_value` | `mixed` | The old option value. -Source: [tests/source/filters.php](../source/filters.php), [line 52](../source/filters.php#L52-L61) +Source: [tests/source/filters.php](../source/filters.php), [line 61](../source/filters.php#L61-L70) ### `missing_since_double_quotes_dynamic_filter_{$option}` @@ -421,7 +421,7 @@ Argument | Type | Description `$value` | `mixed` | The new, unserialized option value. `$old_value` | `mixed` | The old option value. -Source: [tests/source/filters.php](../source/filters.php), [line 63](../source/filters.php#L63-L72) +Source: [tests/source/filters.php](../source/filters.php), [line 72](../source/filters.php#L72-L81) ### `missing_param_static_filter` @@ -443,7 +443,7 @@ Version | Description ------- | ----------- `2.6.0` | -Source: [tests/source/filters.php](../source/filters.php), [line 74](../source/filters.php#L74-L84) +Source: [tests/source/filters.php](../source/filters.php), [line 83](../source/filters.php#L83-L93) ### `missing_param_dynamic_filter_{$option}` @@ -465,7 +465,7 @@ Version | Description ------- | ----------- `2.6.0` | -Source: [tests/source/filters.php](../source/filters.php), [line 86](../source/filters.php#L86-L96) +Source: [tests/source/filters.php](../source/filters.php), [line 95](../source/filters.php#L95-L105) ### `missing_param_double_quotes_dynamic_filter_{$option}` @@ -487,7 +487,7 @@ Version | Description ------- | ----------- `2.6.0` | -Source: [tests/source/filters.php](../source/filters.php), [line 98](../source/filters.php#L98-L108) +Source: [tests/source/filters.php](../source/filters.php), [line 107](../source/filters.php#L107-L117) ### `multiple_since_tags` @@ -510,7 +510,7 @@ Version | Description `1.9` | Added a new parameter to the filter `1.0` | -Source: [tests/source/filters.php](../source/filters.php), [line 110](../source/filters.php#L110-L122) +Source: [tests/source/filters.php](../source/filters.php), [line 119](../source/filters.php#L119-L131) ### `no_doc_static_filter` @@ -521,7 +521,7 @@ Argument | Type | Description `$mce_translation` | | `$mce_locale` | | -Source: [tests/source/filters.php](../source/filters.php), [line 124](../source/filters.php#L124-L124) +Source: [tests/source/filters.php](../source/filters.php), [line 133](../source/filters.php#L133-L133) ### `no_doc_dynamic_filter_{$option}` @@ -532,7 +532,7 @@ Argument | Type | Description `$value` | | `$old_value` | | -Source: [tests/source/filters.php](../source/filters.php), [line 126](../source/filters.php#L126-L126) +Source: [tests/source/filters.php](../source/filters.php), [line 135](../source/filters.php#L135-L135) ### `no_doc_double_quotes_dynamic_filter_{$option}` @@ -543,8 +543,8 @@ Argument | Type | Description `$value` | | `$old_value` | | -Source: [tests/source/filters.php](../source/filters.php), [line 128](../source/filters.php#L128-L128) +Source: [tests/source/filters.php](../source/filters.php), [line 137](../source/filters.php#L137-L137) -

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.0.0

+

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.1.0

diff --git a/tests/docs/phpdocumentor-actions.rst b/tests/docs/phpdocumentor-actions.rst index ed0b58c..a6c66eb 100644 --- a/tests/docs/phpdocumentor-actions.rst +++ b/tests/docs/phpdocumentor-actions.rst @@ -5,10 +5,10 @@ Actions https://developer.wordpress.org/plugins/hooks/actions/ -good_static_filter ------------------- +good_doc_static_action +---------------------- -*This is a well documented filter.* +*This is a well documented action.* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. @@ -16,14 +16,15 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $mce_translation | array | Key/value pairs of strings. | -| $mce_locale | string | Locale. | +| $option | string | Name of the option to update. | +| $old_value | mixed | The old option value. | +| $value | mixed | The new option value. | +----------+------+-------------+ -good_dynamic_filter_{$option} ------------------------------ +good_doc_dynamic_action_{$option} +--------------------------------- -*This is a well documented dynamic filter.* +*This is a well documented dynamic action.* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. @@ -31,14 +32,14 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $value | mixed | The new, unserialized option value. | | $old_value | mixed | The old option value. | +| $value | mixed | The new option value. | +----------+------+-------------+ -good_double_quotes_dynamic_filter_{$option} -------------------------------------------- +good_doc_double_quotes_dynamic_action_{$option} +----------------------------------------------- -*This is a well documented dynamic filter.* +*This is a well documented dynamic action.* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. @@ -46,14 +47,14 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $value | mixed | The new, unserialized option value. | | $old_value | mixed | The old option value. | +| $value | mixed | The new option value. | +----------+------+-------------+ -missing_since_static_filter +missing_since_static_action --------------------------- -*This is a filter missing the "since" line.* +*This is an action missing the "since" line.* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. @@ -61,14 +62,15 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $mce_translation | | | -| $mce_locale | string | Locale. | +| $option | string | Name of the option to update. | +| $old_value | mixed | The old option value. | +| $value | mixed | The new option value. | +----------+------+-------------+ -missing_since_dynamic_filter_{$option} +missing_since_dynamic_action_{$option} -------------------------------------- -*This is a dynamic filter missing the "since" line.* +*This is a dynamic action missing the "since" line.* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. @@ -76,14 +78,14 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $value | mixed | The new, unserialized option value. | | $old_value | mixed | The old option value. | +| $value | mixed | The new option value. | +----------+------+-------------+ -missing_since_double_quotes_dynamic_filter_{$option} +missing_since_double_quotes_dynamic_action_{$option} ---------------------------------------------------- -*This is a dynamic filter missing the "since" line.* +*This is a dynamic action missing the "since" line.* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. @@ -91,14 +93,14 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $value | mixed | The new, unserialized option value. | | $old_value | mixed | The old option value. | +| $value | mixed | The new option value. | +----------+------+-------------+ -missing_param_static_filter +missing_param_static_action --------------------------- -*This is a filter missing one "param" line.* +*This is an action missing a "param" line.* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. @@ -106,14 +108,15 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $mce_translation | | | -| $mce_locale | string | Locale. | +| $option | string | Name of the option to update. | +| $old_value | | | +| $value | mixed | The new option value. | +----------+------+-------------+ -missing_param_dynamic_filter_{$option} +missing_param_dynamic_action_{$option} -------------------------------------- -*This is a dynamic filter missing one "param" line.* +*This is a well documented dynamic action.* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. @@ -121,14 +124,14 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $value | | | | $old_value | | | +| $value | mixed | The new option value. | +----------+------+-------------+ -missing_param_double_quotes_dynamic_filter_{$option} +missing_param_double_quotes_dynamic_action_{$option} ---------------------------------------------------- -*This is a dynamic filter missing one "param" line.* +*This is a well documented dynamic action.* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. @@ -136,53 +139,117 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ +| $old_value | | | +| $value | mixed | The new option value. | ++----------+------+-------------+ + +no_doc_static_action +-------------------- + ++----------+------+-------------+ +| Argument | Type | Description | ++==========+======+=============+ +| $option | | | +| $old_value | | | | $value | | | ++----------+------+-------------+ + +no_doc_dynamic_action_{$option} +------------------------------- + ++----------+------+-------------+ +| Argument | Type | Description | ++==========+======+=============+ | $old_value | | | +| $value | | | +----------+------+-------------+ -multiple_since_tags -------------------- +no_doc_double_quotes_dymanic_action_{$option} +--------------------------------------------- + ++----------+------+-------------+ +| Argument | Type | Description | ++==========+======+=============+ +| $old_value | | | +| $value | | | ++----------+------+-------------+ + +test +---- + +*Test action.* -*This is a filter with multiple since tags* -Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. -Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $first_parameter | string | | -| $second_parameter | string | | +| $test | \Pronamic\WordPress\Documentor\TestClass | Test object. | +----------+------+-------------+ -no_doc_static_filter --------------------- +test_{$dummy} +------------- + +*Test tag with method call.* + + +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $mce_translation | | | -| $mce_locale | | | +| $test | \Pronamic\WordPress\Documentor\TestClass | Test object. | +----------+------+-------------+ -no_doc_dynamic_filter_{$option} -------------------------------- +test_{$from}_to_{$to} +--------------------- + +*Test tag with var and underscores in markdown.* + + +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $value | | | -| $old_value | | | +| $test | \Pronamic\WordPress\Documentor\TestClass | Test object. | +----------+------+-------------+ -no_doc_double_quotes_dynamic_filter_{$option} ---------------------------------------------- +test_{$this->dummy} +------------------- + +*Test tag with property fetch.* + + +----------+------+-------------+ | Argument | Type | Description | +==========+======+=============+ -| $value | | | -| $old_value | | | +| $test | \Pronamic\WordPress\Documentor\TestClass | Test object. | ++----------+------+-------------+ + +test_since +---------- + +*Test tag with property fetch.* + + + ++----------+------+-------------+ +| Argument | Type | Description | ++==========+======+=============+ +| $test | \Pronamic\WordPress\Documentor\TestClass | Test object. | ++----------+------+-------------+ + +test_union_types +---------------- + +*Test union types.* + + + ++----------+------+-------------+ +| Argument | Type | Description | ++==========+======+=============+ +| $value | int|string | Union type value, integer or string. | +----------+------+-------------+ diff --git a/tests/docs/wordpress-hooks.md b/tests/docs/wordpress-hooks.md index 0561da1..d7c775f 100644 --- a/tests/docs/wordpress-hooks.md +++ b/tests/docs/wordpress-hooks.md @@ -50143,5 +50143,5 @@ Version | Description Source: [wordpress/wp-signup.php](../../wordpress/wp-signup.php), [line 893](../../wordpress/wp-signup.php#L893-L901) -

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.0.0

+

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.1.0