diff options
Diffstat (limited to 'plugins/jetpack/modules/custom-content-types.php')
-rw-r--r-- | plugins/jetpack/modules/custom-content-types.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/custom-content-types.php b/plugins/jetpack/modules/custom-content-types.php index e213e258..eb53741d 100644 --- a/plugins/jetpack/modules/custom-content-types.php +++ b/plugins/jetpack/modules/custom-content-types.php @@ -12,6 +12,8 @@ * Additional Search Queries: cpt, custom post types, portfolio, portfolios, testimonial, testimonials */ +use Automattic\Jetpack\Redirect; + function jetpack_load_custom_post_types() { include dirname( __FILE__ ) . "/custom-post-types/portfolios.php"; } @@ -39,7 +41,7 @@ function jetpack_cpt_section_callback() { ?> <p> <?php esc_html_e( 'Use these settings to display different types of content on your site.', 'jetpack' ); ?> - <a target="_blank" href="https://jetpack.com/support/custom-content-types/"><?php esc_html_e( 'Learn More', 'jetpack' ); ?></a> + <a target="_blank" rel="noopener noreferrer" href="<?php echo esc_url( Redirect::get_url( 'jetpack-support-custom-content-types' ) ); ?>"><?php esc_html_e( 'Learn More', 'jetpack' ); ?></a> </p> <?php } |