Skip to content

Commit 4e9fce0

Browse files
committed
Add .extract-wp-hooks.json config and update .distignore
Introduces .extract-wp-hooks.json for WP hooks extraction configuration and adds it to .distignore to exclude from distribution builds.
1 parent 90aae4f commit 4e9fce0

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.distignore
44
.DS_Store
55
.editorconfig
6+
.extract-wp-hooks.json
67
.git
78
.github
89
.gitignore

.extract-wp-hooks.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"namespace": "Activitypub",
3+
"wiki_directory": "../activitypub.wiki",
4+
"github_blob_url": "https://github.com/Automattic/wordpress-activitypub/blob/trunk/",
5+
"ignore_filter": [
6+
"comment_text",
7+
"get_avatar_comment_types",
8+
"get_avatar_url",
9+
"http_headers_useragent",
10+
"import_start",
11+
"import_end",
12+
"oembed_result",
13+
"opengraph_metadata",
14+
"rest_oembed_ttl",
15+
"the_content",
16+
"the_excerpt",
17+
"webfinger_data",
18+
"wp_import_existing_post",
19+
"wpml_post_language_details"
20+
],
21+
"exclude_dirs": [ "build", "tests" ]
22+
}

0 commit comments

Comments
 (0)