-
Notifications
You must be signed in to change notification settings - Fork 3
Allow filtering of group path #42
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
Conversation
| 'prefix' => $is_using_asset_directory_prefix, | ||
| ]; | ||
| /** | ||
| * Allows for the group path to be filtered. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a note here about how this handles custom wp-content folders better, so it doesn't get missed in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mathetos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks all for the quick work here!
| * @param string $group_path_slug The slug of the group path. | ||
| */ | ||
| static::$group_paths[ $group_path_slug ] = apply_filters( | ||
| 'stellarwp/assets/group_path', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dpanta94 This filter is missing the hook prefix that is used by other filters in this library.
Adds a filter to allow external plugins to filter the group path being created