PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.14.1
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.14.1
2.14.1 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 All 56 releases
← All changes | includes/seo/class-object-redirect.php +14 -0 2.8.0 → 2.14.1 View file →
@@ -176,8 +176,22 @@
176 176 __('The redirect could not be stored.', 'thinkrank')
177 177 );
178 178 }
179 179
180 + /**
181 + * Fires after an object's redirect was set or cleared.
182 + *
183 + * A redirected object is left out of the sitemap, so the published
184 + * files have to be rebuilt when one changes.
185 + *
186 + * @since 2.15.0
187 + *
188 + * @param string $object_type 'post' or 'term'.
189 + * @param int $object_id Object ID.
190 + * @param string $url Destination; '' when the redirect was cleared.
191 + */
192 + do_action('thinkrank_object_redirect_saved', $object_type, $object_id, $url);
193 +
180 194 return true;
181 195 }
182 196
183 197 /**