Use a for loop instead of 3 calls of the same function
Use a for loop instead of 3 calls of the same function

Simply add the post types to an array,
instead of repeating the function.

ampproject/amp-toolbox-php,ampproject/amp-toolbox-php