开发者 |
ethitter
thinkoomph |
---|---|
更新时间 | 2022年7月1日 13:11 |
捐献地址: | 去捐款 |
PHP版本: | 3.0 及以上 |
WordPress版本: | 6.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
add_meta_box
function.
This plugin was originally written for use on WordPress.com VIP. It is inspired by and backwards-compatible with Mark Jaquith's Page Links To plugin, meaning users can switch between plugins without risk of losing any existing external links.
This plugin is translation-ready.
Using the epr_post_types
filter, one can modify the default array of object types (post
and page
) to include additional custom post types or remove the plugin from one of the default post types.
epr_meta_key_target
- modify the meta key associated with the external URLepr_meta_key_type
- modify the meta key associated with the redirect typeepr_status_codes
- modify array of available status codes used when redirect is issuedget_redirect_data()
method to look up a post ID's redirect.init
action to ensure that the filters it contains are available to other plugins. Thanks batmoo.epr_post_types
filter discussed in the FAQ.