wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
wp_{$post->post_type}_revisions_to_keep › Filtr WordPress Hooks
Od5.8.0
Przestarzałyn/a
› apply_filters( "wp_{$post->post_type}_revisions_to_keep", $num, $post )
Parametry: (2) |
|
Zdefiniowane na: |
|
Codex: |
Filters the number of revisions to save for the given post by its post type.
Overrides both the value of WP_POST_REVISIONS and the {@see 'wp_revisions_to_keep'} filter.
The dynamic portion of the hook name, $post->post_type
, refers to
the post type slug.
Possible hook names include:
wp_post_revisions_to_keep
wp_page_revisions_to_keep
Powiązane Funkcje: wp_revisions_to_keep, wp_post_revision_meta_keys, wp_post_revision_title, wp_post_revision_title_expanded, _wp_post_revision_data, wp_save_post_revision_on_insert