Editorial Rating icon
SEO

Editorial Rating hooks reference

  • By Pluginic
  • v4.0.6
  • Updated

Editorial Rating 4.0.6 has 9 actions and 29 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.

functions.phpyour child theme
// Run your own code when Editorial Rating fires an action
add_action( 'media_buttons', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Editorial Rating is about to use
add_filter( 'wpas_cross_rating_post_type_labels', 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

  • 4.0.3/includes/class-average-score-cpt.php line 138 · used in 2 places
    /**
     * Adding Post type for Cross Rating.
     */
    apply_filters( 'wpas_cross_rating_post_type_labels', array( 'name' => esc_html_x( 'Cross Ratings', 'Post type general name', 'editorial-rating' ), 'singular_name' => esc_html_x( 'Cross Ratings', 'Post type singular name', 'editorial-rating' ), 'add_new' => esc_html__( '+ Add Cross Rating', 'editorial-rating' ), 'add_new_item' => esc_html__( '+ Add Cross Rating', 'editorial-rating' ), 'edit_item' => esc_html__( 'Edit Cross Rating Group', 'editoria... );
  • 4.0.3/admin/wpas-framework/options/admin-recommended.php line 151 · used in 12 places
    apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
  • 4.0.3/admin/wpas-framework/classes/admin-options.class.php line 93 · used in 8 places
    apply_filters( "wpas_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this );
  • 4.0.3/admin/wpas-framework/classes/admin-options.class.php line 315 · used in 8 places
    apply_filters( "wpas_{$this->unique}_save", $data, $this );
  • 4.0.3/admin/wpas-framework/classes/admin-options.class.php line 317 · used in 8 places
    do_action( "wpas_{$this->unique}_save_before", $data, $this );
  • 4.0.3/admin/wpas-framework/classes/admin-options.class.php line 323 · used in 6 places
    do_action( "wpas_{$this->unique}_save_after", $data, $this );
  • 4.0.3/admin/wpas-framework/classes/admin-options.class.php line 350 · used in 6 places
    do_action( "wpas_{$this->unique}_saved", $data, $this );
  • 4.0.3/admin/wpas-framework/classes/admin-options.class.php line 94 · used in 6 places
    apply_filters( "wpas_{$this->unique}_sections", $params['sections'], $this );
  • 4.0.3/admin/wpas-framework/classes/setup.class.php line 584 · used in 6 places
    apply_filters( 'wpas_fa4', false );
  • 4.0.3/includes/class-average-score-cpt.php line 104 · used in 2 places
    apply_filters( "{self::PAGE_ID}_post_type_args", array( 'labels' => $labels, 'public' => false, 'hierarchical' => false, 'exclude_from_search' => true, 'show_ui' => $show_ui, 'show_in_admin_bar' => false, 'menu_position' => apply_filters( 'wpas_review_menu_position', 20 ), 'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode( '<svg style="fill:rgba(240,246,252,.6);" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M173... );
  • 4.0.3/includes/class-average-score-cpt.php line 85 · used in 2 places
    apply_filters( "{self::PAGE_ID}_post_type_labels", array( 'name' => esc_html_x( 'All Reviews', 'Post type general name', 'editorial-rating' ), 'singular_name' => esc_html_x( 'Reviews', 'Post type singular name', 'editorial-rating' ), 'add_new' => esc_html__( '+ Add Review', 'editorial-rating' ), 'add_new_item' => esc_html__( 'Add New Review', 'editorial-rating' ), 'edit_item' => esc_html__( 'Edit Review', 'editorial-rating' ), 'new_item' => esc... );
  • 4.0.3/admin/wpas-framework/fields/wp_editor/wp_editor.php line 73 · used in 2 places
    do_action( 'media_buttons' );
  • 4.0.3/admin/wpas-framework/options/widget-options.php line 112 · used in 2 places
    apply_filters( 'widget_title', $instance['title'] );
  • 4.0.3/admin/wpas-framework/classes/widget-options.class.php line 49 · used in 2 places
    apply_filters( "wpas_{$this->unique}_control_ops", $control_ops, $this );
  • 4.0.3/admin/wpas-framework/classes/abstract.class.php line 22 · used in 2 places
    apply_filters( "wpas_{$this->unique}_output_css", WPAS::$css, $this );
  • 4.0.3/admin/wpas-framework/classes/widget-options.class.php line 48 · used in 2 places
    apply_filters( "wpas_{$this->unique}_widget_ops", $widget_ops, $this );
  • 4.0.3/admin/wpas-framework/functions/actions.php line 177 · used in 2 places
    apply_filters( 'wpas_chosen_ajax_capability', 'manage_options' );
  • 4.0.3/admin/wpas-framework/classes/setup.class.php line 608 · used in 2 places
    apply_filters( 'wpas_color_palette', array() );
  • 4.0.3/includes/class-average-score-cpt.php line 156 · used in 2 places
    apply_filters( 'wpas_cross_rating_post_type_args', array( 'labels' => $labels, 'exclude_from_search' => true, 'show_ui' => true, 'show_in_admin_bar' => false, 'rewrite' => false, 'query_var' => false, 'supports' => array( 'title' ), 'show_in_menu' => 'edit.php?post_type=' . self::PAGE_ID, ) );
  • 4.0.3/admin/wpas-framework/classes/setup.class.php line 635 · used in 2 places
    do_action( 'wpas_enqueue' );
  • 4.0.3/admin/wpas-framework/classes/setup.class.php line 570 · used in 2 places
    apply_filters( 'wpas_enqueue_assets', self::$enqueue );
  • 4.0.3/admin/wpas-framework/functions/actions.php line 25 · used in 2 places
    apply_filters( 'wpas_field_icon_add_icons', wpas_get_default_icons() );
  • 4.0.3/admin/wpas-framework/fields/typography/typography.php line 106 · used in 2 places
    apply_filters( 'wpas_field_typography_backup_font_family', array( 'Arial, Helvetica, sans-serif', "'Arial Black', Gadget, sans-serif", "'Comic Sans MS', cursive, sans-serif", 'Impact, Charcoal, sans-serif', "'Lucida Sans Unicode', 'Lucida Grande', sans-serif", 'Tahoma, Geneva, sans-serif', "'Trebuchet MS', Helvetica, sans-serif'", 'Verdana, Geneva, sans-serif', "'Courier New', Courier, monospace", "'Lucida Console', Monaco, monospace", 'Georgia, serif'... );
  • 4.0.3/admin/wpas-framework/fields/typography/typography.php line 360 · used in 2 places
    apply_filters( 'wpas_field_typography_customwebfonts', array() );
  • 4.0.3/admin/wpas-framework/fields/typography/typography.php line 394 · used in 2 places
    apply_filters( 'wpas_field_typography_defaultstyles', array( 'normal', 'italic', '700', '700italic' ) );
  • 4.0.3/admin/wpas-framework/fields/typography/typography.php line 396 · used in 2 places
    apply_filters( 'wpas_field_typography_googlestyles', array( '100' => 'Thin 100', '100italic' => 'Thin 100 Italic', '200' => 'Extra-Light 200', '200italic' => 'Extra-Light 200 Italic', '300' => 'Light 300', '300italic' => 'Light 300 Italic', 'normal' => 'Normal 400', 'italic' => 'Normal 400 Italic', '500' => 'Medium 500', '500italic' => 'Medium 500 Italic', '600' => 'Semi-Bold 600', '600italic' => 'Semi-Bold 600 Italic', '700' => 'Bold 700', '700i... );
  • 4.0.3/admin/wpas-framework/fields/typography/typography.php line 391 · used in 2 places
    apply_filters( 'wpas_field_typography_googlewebfonts', wpas_get_google_fonts() );
  • 4.0.3/admin/wpas-framework/fields/typography/typography.php line 371 · used in 2 places
    apply_filters( 'wpas_field_typography_safewebfonts', array( 'Arial', 'Arial Black', 'Helvetica', 'Times New Roman', 'Courier New', 'Tahoma', 'Verdana', 'Impact', 'Trebuchet MS', 'Comic Sans MS', 'Lucida Console', 'Lucida Sans Unicode', 'Georgia, serif', 'Palatino Linotype' ) );
  • 4.0.3/admin/wpas-framework/fields/typography/typography.php line 417 · used in 2 places
    apply_filters( 'wpas_field_typography_webfonts', $webfonts );
  • 4.0.3/admin/wpas-framework/classes/setup.class.php line 407 · used in 2 places
    apply_filters( 'wpas_fields', array( 'accordion', 'background', 'backup', 'border', 'button_set', 'callback', 'checkbox', 'code_editor', 'color', 'color_group', 'content', 'date', 'datetime', 'dimensions', 'fieldset', 'gallery', 'group', 'heading', 'icon', 'image_select', 'link', 'link_color', 'map', 'media', 'notice', 'number', 'palette', 'radio', 'repeater', 'select', 'shortcode', 'slider', 'sortable', 'sorter', 'spacing'... );
  • 4.0.3/admin/wpas-framework/classes/setup.class.php line 68 · used in 2 places
    do_action( 'wpas_init' );
  • 4.0.3/admin/wpas-framework/classes/setup.class.php line 250 · used in 2 places
    do_action( 'wpas_loaded' );
  • 4.0.3/admin/wpas-framework/classes/admin-options.class.php line 959 · used in 2 places
    do_action( 'wpas_options_after' );
  • 4.0.3/admin/wpas-framework/classes/admin-options.class.php line 481 · used in 2 places
    do_action( 'wpas_options_before' );
  • 4.0.3/admin/wpas-framework/classes/setup.class.php line 331 · used in 2 places
    apply_filters( 'wpas_override', 'wpas-override' );
  • 4.0.3/includes/class-average-score-cpt.php line 113 · used in 2 places
    apply_filters( 'wpas_review_menu_position', 20 );
  • 4.0.3/includes/class-average-score-cpt.php line 83 · used in 2 places
    apply_filters( 'wpas_review_ui_permission', 'manage_options' );
  • 4.0.3/admin/wpas-framework/fields/wp_editor/wp_editor.php line 88 · used in 2 places
    apply_filters( 'wpas_wp_editor', array( 'tinymce' => array( 'wp_skip_init' => true ), ) );

Generated from Editorial Rating'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.

Plugin 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 this

Not 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: