Commit 41528d9
docs: add PHPDoc documentation for all hooks
Add comprehensive PHPDoc documentation for all 24 filters and 2 actions
in the Ad Code Manager plugin, improving discoverability and developer
experience.
Documented filters include:
- Configuration: acm_register_provider_slug, acm_provider_slug,
acm_whitelisted_script_urls, acm_whitelisted_conditionals,
acm_logical_operator, acm_manage_ads_cap, acm_ad_tag_ids,
acm_ad_code_args
- Rendering: acm_output_html, acm_output_tokens,
acm_output_html_after_tokens_processed, acm_disable_ad_rendering,
acm_wrapper_classes (already documented in #188)
- Matching: acm_display_ad_codes_without_conditionals,
acm_conditional_args, acm_reset_postdata_before_match,
acm_matching_ad_code_cache_expiration
- Admin: acm_list_table_columns, acm_list_table_per_page,
acm_validate_ad_code, acm_allowed_get_posts_args, acm_ad_code_count
- Other: acm_default_url, acm_should_do_robotstxt,
acm_robotstxt_disallow
Documented actions:
- acm_tag: Displays an ad tag on the frontend
- acm_options_form: Fires in the options form
Fixes #157
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent a24f6d7 commit 41528d9
File tree
4 files changed
+248
-55
lines changed- src
- views
4 files changed
+248
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
| |||
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
47 | 66 | | |
48 | 67 | | |
49 | 68 | | |
| |||
63 | 82 | | |
64 | 83 | | |
65 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
66 | 97 | | |
67 | 98 | | |
68 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
28 | 39 | | |
29 | 40 | | |
30 | 41 | | |
| |||
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
37 | | - | |
| 48 | + | |
38 | 49 | | |
39 | 50 | | |
40 | 51 | | |
| |||
83 | 94 | | |
84 | 95 | | |
85 | 96 | | |
86 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
87 | 104 | | |
88 | 105 | | |
89 | 106 | | |
| |||
0 commit comments