WPAdverts 2.3.5 has 59 actions and 159 filters, read directly from its source code on Nov 18, 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 WPAdverts fires an action
add_action( 'adverts_category_pre_title', function( $term_item, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value WPAdverts is about to use
add_filter( 'adverts_menu_page', 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
-
/** * This filter is documented in wp-includes/category-template.php */ apply_filters( 'list_cats', $category->name, $category ); -
apply_filters( 'adverts_form_scheme', Adverts::instance()->get( "form_contact_form" ), array() ); -
apply_filters( 'adverts_template_load', ADVERTS_PATH . 'templates/form.php' ); -
apply_filters( 'adverts_the_content', $post_content ); -
apply_filters( 'wpadverts/blocks/load/template', dirname( __FILE__ ) . "/list-item-img-slider.php", $atts ); -
apply_filters( 'adverts_form_load', $form_scheme ); -
apply_filters( 'adverts_manage_baseurl', get_the_permalink() ); -
apply_filters( 'adverts_sh_manage_list_statuses', array('publish', 'advert-pending', 'pending', 'expired') ); -
apply_filters( 'adverts_action', adverts_request("_adverts_action", ""), __FUNCTION__ ); -
apply_filters( 'adverts_category_font_icon', "adverts-icon-".$icon, $term_item, "small" ); -
do_action( 'adverts_category_pre_title', $term_item, "small" ); -
apply_filters( 'adverts_form_field_option_id', $id.'_'.$i, $v, $field, $i ); -
apply_filters( 'adverts_post_type', $args, 'adverts-pricing' ); -
do_action( 'wpadverts_advert_saved', $post_id ); -
do_action( 'adext_contact_form_send', $post_id, $form ); -
do_action( 'adverts_list_after_title', get_the_ID(), true ); -
apply_filters( 'adverts_list_pagination_base', $pbase . '%_%' ); -
apply_filters( 'adverts_list_query', array( 'author' => $author, 'post_type' => $atts["post_type"], 'post_status' => 'publish', 'posts_per_page' => $posts_per_page, 'paged' => $paged, 's' => $query, 'meta_query' => $meta, 'tax_query' => $taxonomy, 'orderby' => $orderby ), $params ); -
apply_filters( 'adverts_list_sort_options', array( "date" => array( "label" => __("Publish Date", "wpadverts"), "items" => array( "date-desc" => __("Newest First", "wpadverts"), "date-asc" => __("Oldest First", "wpadverts") ) ), "price" => array( "label" => __("Price", "wpadverts"), "items" => array( "price-asc" => __("Cheapest First", "wpadverts"), "price-desc" => __("Most Expensive First", "wpadverts") ) ), "title" => array( "label" =>... ); -
do_action( 'adverts_payment_status_change', get_post( $payment->ID ), $status_new, $status_old ); -
apply_filters( 'adverts_tpl_single_location', esc_html( $location ), $post_id, "block/details" ); -
apply_filters( 'adverts_tpl_single_posted_by', esc_html( get_post_meta($post_id, 'adverts_person', true) ), $post_id ); -
apply_filters( 'widget_title', $instance['title'] ); -
apply_filters( 'wpadverts_filter_renewals', $renewals, $post_id ); -
apply_filters( 'wpadverts/block/date-format', adverts_config( "block_date_format" ), "single-author" ); -
apply_filters( 'adext_payments_option_is_disabled', $is_disabled, $option ); -
apply_filters( 'adverts_add_form_bind', $bind ); -
apply_filters( 'adverts_add_pre_save', $init, $post_id, $form ); -
apply_filters( 'adverts_categories_query', array( 'taxonomy' => 'advert_category', 'hide_empty' => 0, 'parent' => $this->get_parent_id( 'advert_category', $taxonomy_detect ), ), $atts ); -
apply_filters( 'adverts_checksum_name', sprintf( 'wpadverts-cksum-%s', $checksum ), $checksum ); -
apply_filters( 'adverts_field_textarea_tinymce_params', array( "wpautop" => true, "quicktags" => false, "media_buttons" => false, "teeny" => false, "textarea_rows" => 8, 'tinymce' => array( 'toolbar1' => 'bold,italic,strikethrough,bullist,numlist,blockquote,justifyleft,justifycenter,justifyright,link,unlink,spellchecker,wp_adv', 'theme_advanced_buttons2' => 'formatselect,justifyfull,forecolor,pastetext,pasteword,removeformat,charmap,outdent,indent,u... ); -
apply_filters( 'adverts_flash_data', $data ); -
apply_filters( 'adverts_force_featured_image', $keys[0], $post_id ); -
apply_filters( 'adverts_insert_post', array( 'post_title' => 'Adverts Auto Draft', 'post_content' => '', 'post_status' => adverts_tmp_post_status(), 'post_author' => wp_get_current_user()->ID, 'post_type' => isset( $args["post_type"] ) ? $args["post_type"] : "advert", 'comments_status' => 'closed' ) ); -
apply_filters( 'adverts_manage_action', $action ); -
apply_filters( "adverts_manage_action_{$action}", $content, $atts, true ); -
apply_filters( 'adverts_manage_query', array( 'post_type' => $post_type, 'post_status' => apply_filters("adverts_sh_manage_list_statuses", array('publish', 'advert-pending', 'pending', 'expired') ), 'posts_per_page' => $posts_per_page, 'paged' => $paged, 'author' => get_current_user_id(), 'orderby' => $orderby ) ); -
do_action( "adverts_payment_{$status_new}", $payment ); -
do_action( "adverts_payment_{$status_old}_to_{$status_new}", $payment ); -
do_action( 'adverts_payments_features', $post->ID ); -
do_action( 'adverts_tpl_single_bottom', $post_id, true ); -
do_action( 'adverts_tpl_single_details', $post_id, true ); -
do_action( 'adverts_tpl_single_top', $post_id, true ); -
apply_filters( 'wpadverts_ac_row', array( "html" => "", "value" => $term->term_id, "label" => $term->name, "path" => $path, "has_children" => $has_children, "is_restricted" => get_term_meta( $term->term_id, "wpadvert_is_restricted", true ) ), $term ); -
apply_filters( 'wpadverts_ac_row_html', sprintf( $html, $term->name ), $term ); -
do_action( 'wpadverts_admin_types_after_title', $data_type ); -
apply_filters( 'wpadverts_allow_draft_templates', false ); -
apply_filters( 'wpadverts_allow_unsafe_templates', false ); -
apply_filters( 'wpadverts_filter_pricings_options', $opts ); -
apply_filters( 'wpadverts/block/details/atts', $atts ); -
do_action( 'wpadverts/block/details/tpl/after/meta', $post_id ); -
do_action( 'wpadverts/block/details/tpl/contact-content', $post_id, $atts ); -
apply_filters( 'wpadverts/block/field/types', array( "adverts_field_label" => "label", "adverts_field_text" => "text", "adverts_field_password" => "password", "adverts_field_select" => "select", "adverts_field_textarea" => "textarea", "adverts_field_radio" => "radio", "adverts_field_checkbox" => "checkbox", "adverts_field_gallery" => "gallery" ) ); -
do_action( 'wpadverts/block/manage/update/moderate', $post_id ); -
apply_filters( 'wpadverts/block/object/taxonomy', $content, $terms ); -
apply_filters( 'wpadverts/block/publish/buttons', array( array( "html" => $action_label . '<i class="fa fa-arrow-right atw-pl-3"></i>', "icon" => "fas-mail-alt", "type" => "primary", "class" => "wpadverts-block-cf-send", "action" => "submit", "name" => "adverts_contact_form", "value" => "1" ) ), $this->_params ); -
apply_filters( 'wpadverts/block/publish/show-buttons', true, $this->_params ); -
apply_filters( 'wpadverts/block/single-data-table', $this->get_data( $post_id ), $post_id ); -
apply_filters( 'adext_bank_transfer_custom_text', $html, $data ); -
apply_filters( 'adext_contact_form_get_to', $to, $post_id ); -
apply_filters( 'adext_contact_form_get_to_meta_name', "adverts_email" ); -
apply_filters( 'adext_emails_admin_edit_url', $url, $post ); -
apply_filters( 'adext_emails_list_filter_options', array( array( "key" => "core", "label" => __( "Core", "wpadverts" ) ) ) ); -
do_action( 'adext_emails_list_tbody', $message ); -
do_action( 'adext_emails_list_thead' ); -
apply_filters( 'adext_get_payment_pricing', $pricing, $payment ); -
do_action( 'adext_insert_payment', $payment_id, $postarr, $pricing ); -
do_action( 'adext_payment_list_tbody', $item ); -
do_action( 'adext_payment_list_thead' ); -
do_action( 'adext_payments_details_box', $payment ); -
apply_filters( 'adext_payments_format_order_id', "#".str_pad($post_id, 6, "0", STR_PAD_LEFT), $post_id ); -
apply_filters( 'adext_payments_get_payment_object', $object, $payment, $type ); -
apply_filters( 'adext_payments_get_payment_pricing', $object, $payment, $type ); -
apply_filters( 'adext_payments_log', '%1$s - %2$s' ); -
apply_filters( 'adext_payments_payment_type', $payment_type, $item ); -
do_action( 'adext_pricing_list_tbody', $item ); -
do_action( 'adext_pricing_list_thead' ); -
do_action( 'adext_register_payment_gateway' ); -
apply_filters( "adverts_action_{$action}", $content, $this->get_form(), $this->get_post_id() ); -
apply_filters( 'adverts_ajax_ownership_cap', "edit_pages" ); -
apply_filters( 'adverts_ajax_url', admin_url( "admin-ajax.php") ); -
do_action( 'adverts_attachment_uploaded', $attach_id ); -
apply_filters( 'adverts_categories_query_sub', array( 'taxonomy' => 'advert_category', 'hide_empty' => 0, 'parent' => $term->term_id , 'number' => $sub_count ) ); -
apply_filters( 'adverts_category_post_count', $count, $term ); -
apply_filters( 'adverts_category_the_title', $title ); -
apply_filters( 'adverts_contact_form_email', $mail, $post_id, $form ); -
do_action( 'adverts_core_initiated' ); -
apply_filters( 'adverts_create_user_from_post_id', null, $ID ); -
apply_filters( 'adverts_css_classes', $classes, $post_id ); -
apply_filters( 'adverts_currency_list', array( array("code"=>"USD", "sign"=>"$", "label"=>__("US Dollars", "wpadverts")), array("code"=>"EUR", "sign"=>"€", "label"=>__("Euros", "wpadverts")), array("code"=>"GBP", "sign"=>"£", "label"=>__("Pounds Sterling", "wpadverts")), array("code"=>"AUD", "sign"=>"$", "label"=>__("Australian Dollars", "wpadverts")), array("code"=>"BRL", "sign"=>"R$", "label"=>__("Brazilian Real", "wpadverts")),... ); -
apply_filters( 'adverts_data_box_content_exclude', array("_adverts_account", "advert_category", "post_title", "gallery", "post_content") ); -
apply_filters( 'adverts_discard_spam_content', array( "advert" => array( "post_content" ), "contact" => array( "message_body" ) ), $form ); -
apply_filters( 'adverts_empty_price', adverts_config( 'empty_price' ), $post_id ); -
apply_filters( 'adverts_event_delete_tmp_files_delta', 3600 * 24 * 7 ); -
do_action( 'adverts_form_bind', $this, $data ); -
apply_filters( 'adverts_form_layout', "adverts-form-" . $layout, $layout ); -
apply_filters( 'adverts_frontend_hash', $ehash, $post_id, $post, $update ); -
apply_filters( 'adverts_frontend_hash_enabled', 1, $post_id, $post_id, $post, $update ); -
apply_filters( 'adverts_gallery_enable_custom_controls', true ); -
apply_filters( 'adverts_gallery_explain', array( "full" => array( "enabled" => 1, "title" => __( "Gallery - Full Size", "wpadverts" ), "desc" => __( "Image in original size - used on classified details page in the gallery.", "wpadverts" ) ), "adverts-gallery" => array( "enabled" => 0, "title" => __( "Gallery - Slider", "wpadverts" ), "desc" => __( "Image resized to %d x %d - used in the images slider on classified details page.", "wpad... ); -
apply_filters( 'adverts_get_ip', $ip ); -
apply_filters( 'adverts_get_post_attachments', $attach, $post_id ); -
apply_filters( 'adverts_get_the_price', adverts_price( $price ), $price, $post_id ); -
apply_filters( 'adverts_get_tmp_dir', $tmpdir ); -
apply_filters( 'adverts_get_tmp_url', $tmpurl ); -
do_action( "adverts_install_module_{$mod}" ); -
apply_filters( 'adverts_manage_edit_back_button', $back_button, $post_id ); -
apply_filters( 'adverts_manage_edit_public_link', $public_link, $post_id ); -
apply_filters( 'adverts_manage_moderate', false, $payment, $pricing_id ); -
apply_filters( 'adverts_manage_sort_options', array( "date" => array( "label" => __("Publish Date", "wpadverts"), "items" => array( "date-desc" => __("Newest First", "wpadverts"), "date-asc" => __("Oldest First", "wpadverts") ) ), "price" => array( "label" => __("Price", "wpadverts"), "items" => array( "price-asc" => __("Cheapest First", "wpadverts"), "price-desc" => __("Most Expensive First", "wpadverts") ) ), "title" => array( "label" =>... ); -
apply_filters( 'adverts_maybe_set_image_editor_callback', 'adverts_set_image_editor' ); -
do_action( 'adverts_new_user_notification', $user_id, null, "both", $password ); -
do_action( "adverts_payment_{$new_status}", get_post( $payment_id ) ); -
do_action( "adverts_payment_{$old_status}_to_{$new_status}", get_post( $payment_id ) ); -
apply_filters( 'adverts_payments_order_create', $data ); -
apply_filters( 'adverts_plugin_uploaded', $is_uploaded, $basename ); -
apply_filters( 'adverts_plupload_default_settings', $init ); -
do_action( 'adverts_post_save', $form, $post_id ); -
apply_filters( 'adverts_redirect_expired_status', 301 ); -
apply_filters( 'adverts_redirect_expired_url', $redirect_url ); -
apply_filters( 'adverts_register_taxonomy', $args, 'advert_category' ); -
apply_filters( 'adverts_register_taxonomy_post_type', 'advert', 'advert_category' ); -
apply_filters( 'adverts_renewal_time_min', 7 ); -
do_action( 'adverts_sh_list_before', $params ); -
do_action( 'adverts_sh_manage_actions_after', $post->ID, $baseurl ); -
do_action( 'adverts_sh_manage_actions_left', $post->ID, $baseurl ); -
do_action( 'adverts_sh_manage_actions_more', $post->ID, $baseurl ); -
do_action( 'adverts_sh_manage_actions_right', $post->ID, $baseurl ); -
apply_filters( 'adverts_sh_manage_date', date_i18n( __( 'Y/m/d' ), $expires ), $post ); -
do_action( 'adverts_sh_manage_list_status', $post ); -
apply_filters( 'adverts_show_in_rest', $show_in_rest, $type ); -
apply_filters( 'adverts_skip_trash', $skip_trash, $post_id ); -
apply_filters( 'adverts_sort_images', $images, $post_id, $field_name ); -
do_action( 'adverts_tax_init' ); -
apply_filters( 'adverts_tax_post', $dummy_post_properties ); -
apply_filters( 'adverts_tax_post_content', $prefix . $shortcode ); -
apply_filters( 'adverts_tax_post_title', $queried_object->name ); -
apply_filters( 'adverts_tax_shortcode_args', $shortcode_args ); -
apply_filters( 'adverts_tax_term_description', $queried_object->description ); -
apply_filters( 'adverts_taxonomy_walker_option', array( "value" => esc_attr( $category->{$args['value_field']} ), "text" => $cat_name, "depth" => $depth ), $category ); -
apply_filters( 'adverts_tmp_post_status', "advert_tmp" ); -
apply_filters( 'adverts_update_post', $data ); -
apply_filters( 'adverts_upload_item_data_image_defaults', array( "full" => array( "enabled" => 1, "width" => null, "height" => null, "crop" => false ) ) ); -
apply_filters( 'adverts_widget_list_query', array( 'post_type' => 'advert', 'post_status' => 'publish', 'posts_per_page' => $instance["count"], 'paged' => 1, 's' => $instance["keyword"], 'meta_query' => $meta, 'tax_query' => $taxonomy, 'orderby' => $orderby, 'meta_key' => $meta_key, 'menu_order' => $menu_order ) ); -
apply_filters( 'post_date_column_time', $h_time, $post, $column, $mode ); -
do_action( 'wp_head' ); -
apply_filters( 'wp_image_editors', array( 'WP_Image_Editor_Imagick', 'WP_Image_Editor_GD' ) ); -
apply_filters( 'wpadverts_ac_get_terms_args', $terms_args ); -
do_action( 'wpadverts_admin_types_post_buttons_after', $post_type, $data_type ); -
do_action( 'wpadverts_admin_types_post_buttons_before', $post_type, $data_type ); -
do_action( 'wpadverts_admin_types_taxonomy_buttons_after', $data->name ); -
do_action( 'wpadverts_admin_types_taxonomy_buttons_before', $data->name ); -
apply_filters( 'wpadverts_block_templates_global_method', $grm ); -
apply_filters( 'wpadverts_checksum_params', $args ); -
apply_filters( 'wpadverts_classifieds_types', array( "post_types" => array( "title" => __("Post Types", "wpadverts"), "button_text" => __("+ New Post Type", "wpadverts"), "names" => wpadverts_get_post_types(), "type" => "classified" ), ) ); -
apply_filters( 'wpadverts_disable_gallery_backcompat', false ); -
apply_filters( 'wpadverts_email_parser_flatten', $this->_flatten_inner( array(), array(), $this->_args ) ); -
apply_filters( 'wpadverts_filter_pricings', $pricings ); -
apply_filters( 'wpadverts_get_post_types', array( "advert" ) ); -
apply_filters( 'wpadverts_get_user_types', array( ) ); -
apply_filters( 'wpadverts_grays_palette', array( "blue-gray" => array( 50 => "#F8FAFC", 100 => "#F1F5F9", 200 => "#E2E8F0", 300 => "#CBD5E1", 400 => "#94A3B8", 500 => "#64748B", 600 => "#475569", 700 => "#334155", 800 => "#1E293B", 900 => "#0F172A" ), "cool-gray" => array( 50 => "#F9FAFB", 100 => "#F3F4F6", 200 => "#E5E7EB", 300 => "#D1D5DB", 400 => "#9CA3AF", 500 => "#6B7280", 600 => "#4B5563", 700 => "#374151", 800 => "#1F2937", 900 ... ); -
apply_filters( 'wpadverts_honeypot_forms', array( "advert", "contact" ) ); -
do_action( 'wpadverts_honeypot_init', $this ); -
apply_filters( 'wpadverts_honeypot_input', array( "name" => adverts_config( "moderate.honeypot_name"), "type" => "adverts_field_text", "label" => adverts_config( "moderate.honeypot_title" ), "value" => "", "order" => 9999, "validator" => array( array( "name" => "wpadverts_honeypot_validator" ) ), "attr" => array( "autocomplete" => "off" ) ) ); -
apply_filters( 'wpadverts_message', $mail_args, $message, $args ); -
apply_filters( 'wpadverts_message_args', $args, $message, $mail_args ); -
apply_filters( 'wpadverts_messages_register', array( "core::on_draft_to_publish_notify_user" => array( "name" => "core::on_draft_to_publish_notify_user", "action" => "advert_tmp_to_publish", "callback" => array( $this, "on_draft_to_publish_notify_user" ), "enabled" => 1, "help" => "https://wpadverts.com/documentation/emails/#core-on_draft_to_publish_notify_user", "notify" => "user", "from" => array( "name" => "", "email" => "" ), "to" => "... ); -
apply_filters( 'wpadverts_module_groups', array( array( "title" => __( "Modules", "wpadverts" ), "modules" => array( "core" => array( "title" => __("Core", "wpadverts"), "text" => __("Here you can configure most basic options, applicable on any site.", "wpadverts"), "type" => "static", "plugin" => null, ), "custom-fields" => array( "title" => __("Custom Fields", "wpadverts"), "text" => __("Allow users to customize forms using easy to u... ); -
apply_filters( 'wpadverts_timetrap_field_name', "_timetrap_field" ); -
apply_filters( 'wpadverts_timetrap_forms', array( "advert", "contact" ) ); -
do_action( 'wpadverts_timetrap_init', $this ); -
apply_filters( 'wpadverts_timetrap_input', array( "name" => $this->get_field_name(), "type" => "adverts_field_hidden", "label" => "", "value" => $this->encrypt( time() ), "order" => 9999, "validator" => array( array( "name" => "adverts_timetrap_validator" ) ) ) ); -
apply_filters( 'wpadverts_timetrap_min_delta', $this->delta ); -
apply_filters( 'wpadverts_timetrap_salt', $this->hash ); -
apply_filters( 'wpadverts_types_admin_actions', array( "edit_post" => array( $this, "render_edit_post" ), "edit_user" => array( $this, "render_edit_user" ), "edit_taxonomy" => array( $this, "render_edit_taxonomy" ), "restore_post_type" => array( $this, "restore_post_type" ), "restore_user_type" => array( $this, "restore_user_type" ), "restore_taxonomy" => array( $this, "restore_taxonomy" ), "enable_auto_comments" => array( $this, "enable_aut... ); -
apply_filters( 'wpadverts_types_admin_next_action', $next_action ); -
do_action( 'wpadverts_user_saved', $user_id, $ID ); -
apply_filters( 'wpadverts/block-patterns/classifieds-details/version', "v2" ); -
apply_filters( 'wpadverts/block/categories/tpl/font-icon', adverts_guess_icon_class($icon), $term, "big" ); -
do_action( 'wpadverts/block/categories/tpl/icon', $term, "big", $atts ); -
apply_filters( 'wpadverts/block/details/contact-options', $contact_options, $atts, $post_id ); -
apply_filters( 'wpadverts/block/details/content-table', array( array( "label" => __( "Description", "wpadverts" ), "icon" => "", "value" => $post_content ) ), $post_id ); -
apply_filters( 'wpadverts/block/details/data-table', array( array( "label" => __( "Category", "wpadverts" ), "icon" => "fas fa-folder", "value" => $this->_get_categories_parsed( $post_id ) ), array( "label" => __( "Location", "wpadverts" ), "icon" => "fas fa-map-marker-alt", "value" => $this->_get_location_parsed( $post_id ) ) ), $post_id ); -
do_action( 'wpadverts/block/details/tpl/contact', $post_id, $atts ); -
do_action( 'wpadverts/block/details/tpl/end', $post_id, $atts ); -
do_action( 'wpadverts/block/details/tpl/start', $post_id, $atts ); -
apply_filters( 'wpadverts/block/field/with-margin', array( "adverts_field_label", "adverts_field_checkbox", "adverts_field_radio" ), $field ); -
apply_filters( 'wpadverts/block/form/styles/atts', $atts ); -
apply_filters( 'wpadverts/block/gallery/atts', $atts ); -
apply_filters( 'wpadverts/block/get/contact/reveal/options', array( "adverts_email" => array( "icon" => "fas fa-envelope", "label" => __("Email", "wpadverts"), "template" => '<a href="mailto:{value}">{value}</a>' ), "adverts_phone" => array( "icon" => "fas fa-phone", "label" => __("Phone", "wpadverts"), "template" => '<a href="tel:{value}">{value}</a>' ) ), $post_id ); -
apply_filters( 'wpadverts/block/get/contact/reveal/value', $value, $id ); -
do_action( 'wpadverts/block/list-item/tpl/after-ad', get_the_ID() ); -
do_action( 'wpadverts/block/manage-edit/tpl/after-form', $post_id ); -
do_action( 'wpadverts/block/manage-edit/tpl/before-form', $post_id ); -
apply_filters( 'wpadverts/block/manage/buttons-manage', $buttons_manage, $post_id ); -
do_action( 'wpadverts/block/manage/list/status', $post ); -
apply_filters( 'wpadverts/block/object/taxonomy/term', sprintf( '<div>%s</div>', esc_html( $c->name ) ), $c ); -
apply_filters( 'wpadverts/block/post/template', $this->_get_template( "post", $post_type ), $post_type ); -
apply_filters( 'wpadverts/block/publish/action', $action, $this->get_params() ); -
apply_filters( 'wpadverts/block/publish/params', $this->_params, $this->get_action(), $atts ); -
apply_filters( 'wpadverts/block/publish/possible-actions', array( "" => array( "order" => 0, "name" => "adverts_action_", "callback" => array( $this, "action_add" ) ), "preview" => array( "order" => 5, "name" => "adverts_action_preview", "callback" => array( $this, "action_preview" ) ), "save-ff" => array( "order" => 10, "name" => "adverts_action_save-ff", "callback" => array( $this, "action_preview" ) ), "save" => array( "order" => 15, "name" => "adve... ); -
apply_filters( 'wpadverts/block/single-author/atts', $atts ); -
apply_filters( 'wpadverts/block/single-contact/atts', $atts ); -
apply_filters( 'wpadverts/block/single-contact/contact-options', $contact_options, $post_id, $atts ); -
apply_filters( 'wpadverts/block/single-data-table/taxonomy', [ "name" => sprintf( "taxonomy__%s", $tx), "type" => "adverts_field_select", "icon" => "fas fa-folder", "label" => $txo->label, "value" => $this->_get_taxonomy_parsed( $post_id, $txo->name ) ], $txo, $post_id ); -
do_action( 'wpadverts/block/single-notifications', get_the_ID(), $atts ); -
apply_filters( 'wpadverts/block/single-value/classes', [ $atts["className"] ?? "", $atts["type"], $atts["text_size"], $atts["font_weight"], $atts["margin_x"], $atts["margin_y"], $atts["padding_x"], $atts["padding_y"], $atts["border_radius"] ], $atts, $post_id ); -
apply_filters( 'wpadverts/block/single-value/html', '<span class="%s"%s>%s</span>', $atts, $post_id ); -
apply_filters( 'wpadverts/block/single-value/value', $value, $atts, $post_id ); -
apply_filters( 'wpadverts/block/tpl/wrap/value', $value, $post_id, $path ); -
apply_filters( 'wpadverts/blocks/list/pagination/params', array( 'base' => $paginate_base, 'format' => $paginate_format, 'current' => max( 1, $paged ), 'total' => $loop->max_num_pages, 'prev_next' => false ) ); -
apply_filters( 'wpadverts/blocks/load-assets-globally', is_admin() ); -
apply_filters( 'wpadverts/rest/classifieds/builtin-meta', array( "wpad-form-add" => $arr_add, "wpad-form-contact" => $arr_contact, "wpad-form-search" => $arr_search ), $form_type ); -
apply_filters( 'wpadverts/rest/classifieds/formatted', array( "wpad-form-add" => $arr_add, "wpad-form-contact" => $arr_contact, "wpad-form-search" => $arr_search ), $form_type ); -
do_action( 'wpadverts/tpl/partial/form/after-buttons', $atts ); -
do_action( 'wpadverts/tpl/partial/form/before-buttons', $atts );
Generated from WPAdverts's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: