开发者 | coffee2code |
---|---|
更新时间 | 2021年6月10日 16:19 |
捐献地址: | 去捐款 |
PHP版本: | 4.9 及以上 |
WordPress版本: | 5.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
post-author-ip.zip
inside the plugins directory for your site (typically wp-content/plugins/
)The IP address in use at the time that the post is first saved (regardless of whether the post was saved as a draft, immediately published, or some other status) will be recorded.
No, this plugin only records the IP address in use when the post was first saved.
In the upper-right of the page is a "Screen Options" link that reveals a panel of options. In the "Columns" section, check (to show) or uncheck (to hide) the "Author IP" option.
Yes. This plugin is compatible with the block editor as well as the classic editor.
Yes. The IP address stored for authors on the posts they created will be exported on data export requests and deleted for data erasure requests.
Yes.
register_privacy_erasers()
and remove_ip_address_from_posts_by_email()
for handling data erasure requestsregister_data_exporter()
and export_user_data_by_email()
for handling data export requestsadd_privacy_policy_content()
for outputting suggested privacy policy snippettests/
top-level directoryphpunit.xml
to phpunit.xml.dist
per best practicesget_post_types()
for retrieving post typesc2c_stealth_publish_post_types
to filter post typesis_protected_meta()
to protect the meta key from being exposed as a custom fieldget_meta_key_name()
as getter for meta_key namec2c_post_author_ip_meta_key
for customizing meta key namerest_pre_insert()
to add meta key as first-class object property prior to REST-initiated updatetype
attribute for style
tag when the theme supports 'html5'add_admin_css()
, admin_css()
, add_post_column()
, enqueue_block_editor_assets()
, handle_column_data()
include_column()
, register_meta()
, show_post_author_ip()
, transition_post_status()
get_meta_key_name()
to set default meta key used by teststearDown()
plugins_loaded
action to initialize itself