This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the status on the existing action hooks
Rather than tracking down every place that might call Instant_Articles_Post::to_instant_article and wrapping it call to set the is_instant_article conditional, it's much simpler to just hook those settings on the existing actions `instant_articles_before_transform_post` and `instant_articles_after_transform_post`.
- Loading branch information
1 parent
8e54394
commit f81998e
Showing
2 changed files
with
2 additions
and
6 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