Giveaways and Contests by RafflePress 1.12.28 has 1 actions and 12 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Giveaways and Contests by RafflePress fires an action
add_action( 'rafflepress_post_entry_add', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Giveaways and Contests by RafflePress is about to use
add_filter( 'rafflepress_list_users_capability', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
apply_filters( 'rafflepress_list_users_capability', 'list_users' ); -
apply_filters( 'rafflepress_manage_options_capability', 'manage_options' ); -
apply_filters( 'rafflepress_install_plugins_capability', 'install_plugins' ); -
rafflepress_post_entry_add
actiondo_action( 'rafflepress_post_entry_add', array( 'giveaway_id' => $giveaway_id, 'contestant_id' => $contestant['id'], 'action_id' => $giveaway_auto_entry_action_id, 'entry_option_meta' => '{"action":"Entering Giveaway"}', ) ); -
apply_filters( 'rafflepress_activate_plugins_capability', 'activate_plugins' ); -
apply_filters( 'rafflepress_admin_notifications_has_access', $access ); -
apply_filters( 'rafflepress_builder_capability', 'edit_others_posts' ); -
apply_filters( 'rafflepress_create_giveaway_capability', 'edit_others_posts' ); -
apply_filters( 'rafflepress_display_media_button', is_admin(), $editor_id ); -
apply_filters( 'rafflepress_lite_upgrade_link', 'https://rafflepress.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=' . sanitize_key( apply_filters( 'rafflepress_lite_upgrade_link_medium', $medium ) ) ); -
apply_filters( 'rafflepress_lite_upgrade_link_medium', $medium );
Generated from Giveaways and Contests by RafflePress's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: