add_cap('edit_posts'); do_action('my_custom_hook', 'param'); apply_filters('my_filter_hook', 'value');