Skip to content
Permalink
Browse files

fix: image replacement on WordPress REST api responses

  • Loading branch information...
selul committed Mar 11, 2019
1 parent 447720d commit 24d191b79429c77fc8742695f976605b2c4288a8
Showing with 3 additions and 0 deletions.
  1. +3 −0 inc/manager.php
@@ -170,6 +170,9 @@ public function register_hooks() {
),
defined( 'OPTML_SITE_MIRROR' ) ? PHP_INT_MAX : PHP_INT_MIN
);
add_action( 'rest_api_init', array( $this, 'process_template_redirect_content' ), PHP_INT_MIN );
add_action( 'get_post_metadata', array( $this, 'replace_meta' ), PHP_INT_MAX, 4 );
foreach ( $this->compatibilities as $compatibility_class ) {

0 comments on commit 24d191b

Please sign in to comment.
You can’t perform that action at this time.