WPGet API icon
Developer Tools

WPGet API hooks reference

  • By David Anderson / Team Updraft
  • v2.25.5
  • Updated

WPGet API 2.25.5 has 31 actions and 87 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.

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

// Change a value WPGet API is about to use
add_filter( 'wpgetapi_gutenberg_attributes', 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

  • includes/block-editor/block-editor.php line 52 · used in 2 places
    /**
     * Filter attributes for the WPGetAPI Widget.
     */
    apply_filters( 'wpgetapi_gutenberg_attributes', array( 'api_id' => array( 'type' => 'string' ), 'endpoint_id' => array( 'type' => 'string' ), 'debug' => array( 'type' => 'string' ), ) );
  • lib/cmb2/includes/CMB2_Base.php line 535
    /**
     * Allows overloading the object (CMB2 or CMB2_Field) with additional
     * capabilities by registering hook callbacks.
     */
    apply_filters_ref_array( "{$object_class}_inherit_{$method}", $args );
  • lib/cmb2/includes/types/CMB2_Type_Base.php line 111
    /**
     * Filter attributes for a field type. The dynamic portion of the hook name,
     * $element, refers to the field type.
     */
    apply_filters( "cmb2_{$element}_attributes", $args, $type_defaults, $this->field, $this->types );
  • lib/cmb2/includes/types/CMB2_Type_File_Base.php line 63
    /**
     * Filter for determining if a field value has a valid image file-type
     * extension.
     */
    apply_filters( "cmb2_{$field_id}_is_valid_img_ext", $is_valid, $file, $file_ext );
  • lib/cmb2/includes/CMB2.php line 857
    /**
     * Fires before fields have been processed/saved.
     */
    do_action( "cmb2_{$object_type}_process_fields_{$this->cmb_id}", $this, $this->object_id() );
  • lib/cmb2/bootstrap.php line 26
    /**
     * Fires on the admin side when CMB2 is included/loaded.
     */
    do_action( 'cmb2_admin_init' );
  • lib/cmb2/includes/CMB2_Field.php line 952
    /**
     * Hook after field row ends.
     */
    do_action( "cmb2_after_{$field_type}_field_row", $this );
  • lib/cmb2/includes/CMB2.php line 421
    /**
     * Hook after form form has been rendered
     */
    do_action( "cmb2_after_{$object_type}_form_{$this->cmb_id}", $object_id, $this );
  • lib/cmb2/includes/CMB2_Field.php line 959
    /**
     * Hook after field row ends.
     */
    do_action( 'cmb2_after_field_row', $this );
  • lib/cmb2/includes/CMB2.php line 433
    /**
     * Hook after form form has been rendered
     */
    do_action( 'cmb2_after_form', $this->cmb_id, $object_id, $object_type, $this );
  • lib/cmb2/bootstrap.php line 81
    /**
     * Fires after CMB2 initiation process has been completed
     */
    do_action( 'cmb2_after_init' );
  • lib/cmb2/includes/rest-api/CMB2_REST_Controller_Boxes.php line 109
    /**
     * By default, no special permissions needed.
     */
    apply_filters( 'cmb2_api_get_boxes_permissions_check', true, $this );
  • lib/cmb2/includes/CMB2_Field.php line 914
    /**
     * Hook before field row begins.
     */
    do_action( "cmb2_before_{$field_type}_field_row", $this );
  • lib/cmb2/includes/CMB2.php line 311
    /**
     * Hook before form table begins
     */
    do_action( "cmb2_before_{$object_type}_form_{$this->cmb_id}", $object_id, $this );
  • lib/cmb2/includes/CMB2_Field.php line 905
    /**
     * Hook before field row begins.
     */
    do_action( 'cmb2_before_field_row', $this );
  • lib/cmb2/includes/CMB2.php line 296
    /**
     * Hook before form table begins
     */
    do_action( 'cmb2_before_form', $this->cmb_id, $object_id, $object_type, $this );
  • cmb2_can_save

    filter
    lib/cmb2/includes/CMB2_Hookup.php line 956
    /**
     * Filter to determine if metabox is allowed to save.
     */
    apply_filters( 'cmb2_can_save', $can_save, $this->cmb );
  • lib/cmb2/includes/CMB2_Field_Display.php line 125
    /**
     * Filters the custom field display class used for displaying the field. Class
     * is required to extend CMB2_Type_Base.
     */
    apply_filters( "cmb2_display_class_{$fieldtype}", $display_class_name, $field );
  • lib/cmb2/includes/CMB2_Hookup.php line 1013
    /**
     * Filter to determine if CMB2'S css should be enqueued.
     */
    apply_filters( 'cmb2_enqueue_css', true );
  • lib/cmb2/includes/CMB2_Hookup.php line 1038
    /**
     * Filter to determine if CMB2'S JS should be enqueued.
     */
    apply_filters( 'cmb2_enqueue_js', true );
  • lib/cmb2/includes/CMB2_Field.php line 1433
    /**
     * Filter the CMB2 Field arguments after processing.
     */
    apply_filters( 'cmb2_field_arguments', $args, $this );
  • lib/cmb2/includes/CMB2_Field.php line 1386
    /**
     * Filtering the CMB2 Field arguments once merged with the defaults, but before
     * further processing.
     */
    apply_filters( 'cmb2_field_arguments_raw', $args, $this );
  • lib/cmb2/includes/CMB2_Field.php line 1374
    /**
     * Filter the CMB2 Field defaults.
     */
    apply_filters( 'cmb2_field_defaults', $defaults, $args['id'], $args['type'], $this );
  • lib/cmb2/includes/CMB2_Field.php line 1076
    /**
     * Filter the value before it is sent to the REST request.
     */
    apply_filters( 'cmb2_get_rest_value', $value, $this );
  • lib/cmb2/includes/CMB2_Field.php line 1088
    /**
     * Filter the value before it is sent to the REST request.
     */
    apply_filters( "cmb2_get_rest_value_{$field_type}", $value, $this );
  • lib/cmb2/includes/CMB2_Field.php line 1100
    /**
     * Filter the value before it is sent to the REST request.
     */
    apply_filters( "cmb2_get_rest_value_for_{$field_id}", $value, $this );
  • lib/cmb2/includes/CMB2.php line 583
    /**
     * Allow for adding additional HTML attributes to a group wrapper.
     */
    apply_filters( 'cmb2_group_wrap_attributes', $group_wrap_attributes, $field_group );
  • cmb2_init

    action
    lib/cmb2/bootstrap.php line 34
    /**
     * Fires when CMB2 is included/loaded
     */
    do_action( 'cmb2_init' );
  • lib/cmb2/includes/CMB2.php line 240
    /**
     * Hook during initiation of CMB2 object
     */
    do_action( "cmb2_init_{$this->cmb_id}", $this );
  • lib/cmb2/bootstrap.php line 50
    /**
     * Fires after all CMB2 instances are created
     */
    do_action( 'cmb2_init_before_hookup' );
  • lib/cmb2/bootstrap.php line 75
    /**
     * Initiates the box "hookup" into WordPress.
     */
    do_action( "cmb2_init_hookup_{$cmb->cmb_id}", $cmb );
  • lib/cmb2/includes/CMB2_Utils.php line 380
    /**
     * Filter the CMB location url.
     */
    apply_filters( 'cmb2_meta_box_url', $cmb2_url, CMB2_VERSION );
  • lib/cmb2/bootstrap.php line 42
    /**
     * For back-compat. Does the dirty-work of instantiating all the CMB2 instances
     * for the cmb2_meta_boxes filter
     */
    apply_filters( 'cmb2_meta_boxes', array() );
  • lib/cmb2/includes/CMB2_Field.php line 668
    /**
     * Filter field types that are non-repeatable.
     */
    apply_filters( 'cmb2_non_repeatable_fields', array() );
  • lib/cmb2/includes/CMB2_Field.php line 435
    /**
     * Filter whether to override removing of meta value.
     */
    apply_filters( "cmb2_override_{$a['field_id']}_meta_remove", $override, $a, $this->args(), $this );
  • lib/cmb2/includes/CMB2_Field.php line 358
    /**
     * Filter and parameters are documented for 'cmb2_override_meta_save' filter
     * (above).
     */
    apply_filters( "cmb2_override_{$a['field_id']}_meta_save", $override, $a, $this->args(), $this );
  • lib/cmb2/includes/CMB2_Field.php line 290
    /**
     * Filter and parameters are documented for 'cmb2_override_meta_value' filter
     * (above).
     */
    apply_filters( "cmb2_override_{$a['field_id']}_meta_value", $data, $this->object_id, $a, $this );
  • lib/cmb2/includes/CMB2_Field.php line 413
    /**
     * Filter whether to override removing of meta value. Returning a non-null
     * value will effectively short-circuit the function.
     */
    apply_filters( 'cmb2_override_meta_remove', null, $a, $this->args(), $this );
  • lib/cmb2/includes/CMB2_Field.php line 347
    /**
     * Filter whether to override saving of meta value. Returning a non-null value
     * will effectively short-circuit the function.
     */
    apply_filters( 'cmb2_override_meta_save', null, $a, $this->args(), $this );
  • lib/cmb2/includes/CMB2_Field.php line 279
    /**
     * Filter whether to override getting of meta value. Returning a non
     * 'cmb2_field_no_override_val' value will effectively short-circuit the value
     * retrieval.
     */
    apply_filters( 'cmb2_override_meta_value', 'cmb2_field_no_override_val', $this->object_id, $a, $this );
  • lib/cmb2/includes/CMB2_Field.php line 1147
    /**
     * A filter to bypass the default display.
     */
    apply_filters( "cmb2_pre_field_display_{$field_type}", null, $this, $display );
  • lib/cmb2/includes/CMB2_Types.php line 81
    /**
     * Pass non-existent field types through an action.
     */
    do_action( "cmb2_render_{$fieldtype}", $this->field, $this->field->escaped_value(), $this->field->object_id, $this->field->object_type, $this );
  • lib/cmb2/includes/CMB2_Types.php line 278
    /**
     * Filters the custom field type class used for rendering the field. Class is
     * required to extend CMB2_Type_Base.
     */
    apply_filters( "cmb2_render_class_{$fieldtype}", $render_class_name, $this );
  • lib/cmb2/includes/CMB2_Field.php line 998
    /**
     * By default, 'text_url' and 'text' fields get table-like styling
     */
    apply_filters( 'cmb2_repeat_table_row_types', array( 'text_url', 'text', ) );
  • lib/cmb2/includes/rest-api/CMB2_REST_Controller.php line 243
    /**
     * Filter the prepared CMB2 item response.
     */
    apply_filters( 'cmb2_rest_prepare', rest_ensure_response( $data ), $this->request, $this );
  • lib/cmb2/includes/CMB2_Sanitize.php line 162
    /**
     * Filter whether 'taxonomy_*' fields should return their value when being
     * sanitized.
     */
    apply_filters( "cmb2_return_taxonomy_values_{$cmb_id}", $return_values, $this );
  • lib/cmb2/includes/CMB2_Field.php line 1036
    /**
     * Globally filter row classes
     */
    apply_filters( 'cmb2_row_classes', implode( ' ', $classes ), $this );
  • lib/cmb2/includes/CMB2_Field.php line 510
    /**
     * Filter the value before it is saved.
     */
    apply_filters( "cmb2_sanitize_{$field_type}", null, $sanitizer->value, $this->object_id, $this->args(), $sanitizer );
  • lib/cmb2/includes/CMB2.php line 887
    /**
     * Fires after all fields have been saved.
     */
    do_action( "cmb2_save_{$object_type}_fields", $object_id, $this->cmb_id, $this->updated, $this );
  • lib/cmb2/includes/CMB2.php line 903
    /**
     * Fires after all fields have been saved.
     */
    do_action( "cmb2_save_{$object_type}_fields_{$this->cmb_id}", $object_id, $this->updated, $this );
  • lib/cmb2/includes/CMB2_Field.php line 596
    /**
     * Hooks after save field action.
     */
    do_action( 'cmb2_save_field', $field_id, $updated, $action, $this );
  • lib/cmb2/includes/CMB2_Field.php line 610
    /**
     * Hooks after save field action.
     */
    do_action( "cmb2_save_field_{$field_id}", $updated, $action, $this );
  • lib/cmb2/includes/CMB2_Options.php line 197
    /**
     * Whether to auto-load the option when WordPress starts up.
     */
    apply_filters( "cmb2_should_autoload_{$this->key}", false, $this );
  • cmb2_show_on

    filter
    lib/cmb2/includes/CMB2_Hookup.php line 797
    /**
     * Filter to determine if metabox should show. Default is true.
     */
    apply_filters( 'cmb2_show_on', $show, $this->cmb->meta_box, $this->cmb );
  • lib/cmb2/includes/CMB2_Hookup.php line 217
    /**
     * Filter to determine if the term's fields should show in the "Add term"
     * section.
     */
    apply_filters( "cmb2_show_on_term_add_form_{$this->cmb->cmb_id}", $show_on_add, $this->cmb );
  • lib/cmb2/includes/CMB2_Hookup.php line 272
    /**
     * Filters the registered style dependencies for the cmb2 stylesheet.
     */
    apply_filters( 'cmb2_style_dependencies', array() );
  • lib/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php line 57
    /**
     * Default (option-none) taxonomy-radio value.
     */
    apply_filters( "cmb2_taxonomy_radio_{$field_id}_default_value", $option_none_value );
  • lib/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php line 46
    /**
     * Default (option-none) taxonomy-radio value.
     */
    apply_filters( 'cmb2_taxonomy_radio_default_value', '' );
  • lib/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php line 74
    /**
     * Default (option-none) taxonomy-select value.
     */
    apply_filters( "cmb2_taxonomy_select_{$field_id}_default_value", $option_none_value );
  • lib/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php line 63
    /**
     * Default (option-none) taxonomy-select value.
     */
    apply_filters( 'cmb2_taxonomy_select_default_value', '' );
  • lib/cmb2/includes/CMB2_Field.php line 747
    /**
     * Filter the value for escaping before it is ouput.
     */
    apply_filters( "cmb2_types_esc_{$field_type}", null, $meta_value, $this->args(), $this );
  • lib/cmb2/includes/types/CMB2_Type_File_Base.php line 48
    /**
     * Which image types are considered valid image file extensions.
     */
    apply_filters( 'cmb2_valid_img_types', $valid_types );
  • lib/cmb2/includes/CMB2.php line 373
    /**
     * Globally filter box wrap classes
     */
    apply_filters( 'cmb2_wrap_classes', $classes, $this );
  • lib/cmb2/includes/CMB2_Base.php line 448
    /**
     * Fires when a deprecated argument is called. This is a WP core action.
     */
    do_action( 'deprecated_argument_run', $function, $message, $version );
  • lib/cmb2/includes/CMB2_Base.php line 457
    /**
     * Filters whether to trigger an error for deprecated arguments. This is a WP
     * core filter.
     */
    apply_filters( 'deprecated_argument_trigger_error', true );
  • rest_the_post

    filter
    lib/cmb2/includes/shim/WP_REST_Controller.php line 537
    /**
     * Filter the post.
     */
    apply_filters( 'rest_the_post', $post_obj, $post );
  • includes/class-wpgetapi-admin-options.php line 1335
    /**
     * Fires before an API setup is removed from wpgetapi_setup.
     */
    do_action( 'wpgetapi_api_before_removed', $removed_api_id );
  • includes/class-wpgetapi-admin-options.php line 1384
    /**
     * Fires before an API endpoint is removed from an API setup.
     */
    do_action( 'wpgetapi_before_endpoint_removed', $removed_endpoint_id, $api_id );
  • includes/block-editor/block-editor.php line 227
    /**
     * Fires after Gutenberg block output.
     */
    do_action( 'wpgetapi_gutenberg_block_after' );
  • includes/block-editor/block-editor.php line 196
    /**
     * Fires before Gutenberg block output.
     */
    do_action( 'wpgetapi_gutenberg_block_before' );
  • includes/block-editor/block-editor.php line 246
    /**
     * Filter Gutenberg block content.
     */
    apply_filters( 'wpgetapi_gutenberg_block_content', $content, $api_id, $endpoint_id, $attr );
  • includes/block-editor/block-editor.php line 101
    /**
     * Filter select options for the WPGetAPI Widget.
     */
    apply_filters( 'wpgetapi_gutenberg_select_options', array( 'format' => array( array( 'label' => __( 'Available in PRO plugin', 'wpgetapi' ), 'value' => '', ), ), 'html_tags' => array( array( 'label' => __( 'Available in PRO plugin', 'wpgetapi' ), 'value' => '', ), ), 'html_labels' => array( array( 'label' => __( 'Available in PRO plugin', 'wpgetapi' ), 'value' => '', ), ), ) );
  • includes/class-wpgetapi-api.php line 269
    /**
     * Retrieves and filters the response headers from the API request.
     */
    apply_filters( 'wpgetapi_response_headers', wp_remote_retrieve_headers( $this->response ), $this->response, $this->response_code, $this );
  • includes/class-wpgetapi-api.php line 215
    /**
     * Check if we should stop or not. Setting $on to true, will stop us calling
     * the api.
     */
    apply_filters( 'wpgetapi_should_we_stop', false, $this );
  • lib/cmb2/includes/CMB2_Field.php line 1344 · used in 2 places
    apply_filters( 'cmb2_default_filter', $default, $this );
  • lib/cmb2/includes/CMB2_Sanitize.php line 72 · used in 2 places
    apply_filters_deprecated( "cmb2_validate_{$field_type}", array( null, $this->value, $this->field->object_id, $this->field->args(), $this ), '2.0.0', "cmb2_sanitize_{$field_type}" );
  • lib/cmb2/includes/CMB2_Field.php line 691
    apply_filters( 'cmb2_all_or_nothing_types', array( 'select', 'radio', 'radio_inline', 'taxonomy_select', 'taxonomy_select_hierarchical', 'taxonomy_radio', 'taxonomy_radio_inline', 'taxonomy_radio_hierarchical', ), $this );
  • lib/cmb2/includes/helper-functions.php line 287
    apply_filters( 'cmb2_get_metabox_form', $form, $object_id, $cmb );
  • lib/cmb2/includes/helper-functions.php line 341
    apply_filters( 'cmb2_get_metabox_form_format', $args['form_format'], $object_id, $cmb );
  • lib/cmb2/includes/CMB2_JS.php line 257
    apply_filters( 'cmb2_localized_data', $l10n );
  • lib/cmb2/includes/CMB2_Options.php line 219
    apply_filters( "cmb2_override_option_get_{$this->key}", 'cmb2_no_override_option_get', $default, $this );
  • lib/cmb2/includes/CMB2_Options.php line 180
    apply_filters( "cmb2_override_option_save_{$this->key}", 'cmb2_no_override_option_save', $this->options, $this );
  • lib/cmb2/includes/CMB2_JS.php line 83
    apply_filters( 'cmb2_script_dependencies', self::$dependencies );
  • lib/cmb2/includes/CMB2_Options_Hookup.php line 277
    apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group );
  • oembed_ttl

    filter
    lib/cmb2/includes/CMB2_Ajax.php line 297
    apply_filters( 'oembed_ttl', DAY_IN_SECONDS, '', array(), 0 );
  • plugin_locale

    filter
    lib/cmb2/init.php line 186
    apply_filters( 'plugin_locale', function_exists( 'determine_locale' ) ? determine_locale() : get_locale(), 'cmb2' );
  • includes/functions.php line 88
    do_action( 'wpgetapi_admin_before_test_result' );
  • includes/class-wpgetapi-admin-options.php line 201
    apply_filters( 'wpgetapi_admin_pages', $option_metabox );
  • includes/class-wpgetapi-admin-options.php line 607
    apply_filters( 'wpgetapi_admin_sidebar_display', $sidebar );
  • includes/class-wpgetapi-admin-options.php line 1245
    do_action( 'wpgetapi_after_template', $path, $template_file, $return_instead_of_echo, $extract_these );
  • includes/class-wpgetapi-api.php line 99
    apply_filters( 'wpgetapi_api_importer_init', $this );
  • includes/class-wpgetapi-api.php line 191
    do_action( 'wpgetapi_before_do_the_call', $this );
  • includes/class-wpgetapi-api.php line 432
    apply_filters( 'wpgetapi_before_get_request', $response, $this );
  • includes/class-wpgetapi-api.php line 448
    apply_filters( 'wpgetapi_before_post_request', $response, $this );
  • includes/class-wpgetapi-api.php line 254
    apply_filters( 'wpgetapi_before_retrieve_body', $this->response, $this->response_code, $this );
  • includes/class-wpgetapi-admin-options.php line 1236
    do_action( 'wpgetapi_before_template', $path, $template_file, $return_instead_of_echo, $extract_these );
  • includes/class-wpgetapi-api.php line 345
    apply_filters( 'wpgetapi_body_parameters', $this->body_parameters, $this );
  • includes/class-wpgetapi-api.php line 407
    apply_filters( 'wpgetapi_default_request_args_parameters', array( 'timeout' => ( absint( $this->timeout ) > 0 ? absint( $this->timeout ) : 10 ), 'sslverify' => $this->sslverify, 'redirection' => 5, 'blocking' => true, 'cookies' => array(), 'reject_unsafe_urls' => defined( 'WPGETAPI_REJECT_UNSAFE_URL' ) ? WPGETAPI_REJECT_UNSAFE_URL : false, ) );
  • includes/class-wpgetapi-api.php line 304
    apply_filters( 'wpgetapi_endpoint', $this->endpoint, $this );
  • includes/class-wpgetapi-admin-options.php line 493
    apply_filters( 'wpgetapi_fields', $fields );
  • includes/class-wpgetapi-admin-options.php line 275
    apply_filters( 'wpgetapi_fields_endpoints', array( array( 'name' => __( 'Unique ID', 'wpgetapi' ) . '<span class="dashicons dashicons-editor-help" data-tip="' . esc_attr__( 'Choose your own unique ID for this endpoint.', 'wpgetapi' ) . ' ' . esc_attr__( 'Use lowercase letters and underscores only!', 'wpgetapi' ) . '"></span>', 'id' => 'id', 'type' => 'text', 'classes' => 'field-id field-half', 'attributes' => array( 'required' => true, '... );
  • includes/class-wpgetapi-api.php line 401
    apply_filters( 'wpgetapi_final_body_parameters', $this->body_parameters, $this );
  • includes/class-wpgetapi-api.php line 208
    apply_filters( 'wpgetapi_final_request_args', $this->build_request_args(), $this );
  • includes/class-wpgetapi-api.php line 205
    apply_filters( 'wpgetapi_final_url', $this->build_url(), $this );
  • includes/class-wpgetapi-api.php line 333
    apply_filters( 'wpgetapi_header_parameters', array( 'headers' => $this->header_parameters, ), $this );
  • includes/class-wpgetapi-api-enqueues.php line 62
    apply_filters( 'wpgetapi_js_translations', array( 'duplicate_button_text' => __( 'Duplicate', 'wpgetapi' ), 'test_endpoint_button_text' => __( 'Test Endpoint', 'wpgetapi' ), 'copied_text' => __( 'Copied', 'wpgetapi' ), 'browser_not_support_message' => __( 'Oops! Your browser doesn\'t support this.', 'wpgetapi' ), ) );
  • includes/class-wpgetapi-api.php line 504
    apply_filters( 'wpgetapi_json_response_body', $data, $this->keys );
  • includes/class-wpgetapi-api.php line 492
    apply_filters( 'wpgetapi_json_response_body_before_decode', $data, $this->keys );
  • wpgetapi.php line 72
    do_action( 'wpgetapi_loaded' );
  • includes/class-wpgetapi-api.php line 391
    apply_filters( 'wpgetapi_modify_formatted_body_parameters', $this->body_parameters, $this );
  • includes/class-wpgetapi-notices.php line 70
    apply_filters( 'wpgetapi_plugin_installed_timestamp', $installed_at );
  • includes/class-wpgetapi-api.php line 315
    apply_filters( 'wpgetapi_query_parameters', $this->query_parameters, $this );
  • includes/class-wpgetapi-api.php line 284
    apply_filters( 'wpgetapi_raw_data', $data, $this );
  • includes/class-wpgetapi-api.php line 246
    apply_filters( 'wpgetapi_raw_error_data', wp_json_encode( $this->response ), $this );
  • includes/functions.php line 21
    apply_filters( 'wpgetapi_results_format_options', array( 'json_string' => __( 'JSON string', 'wpgetapi' ), 'json_decoded' => __( 'PHP array data', 'wpgetapi' ), ) );
  • includes/class-wpgetapi-admin-options.php line 1234
    apply_filters( 'wpgetapi_template', $template_file, $path );
  • includes/class-wpgetapi-api.php line 371
    apply_filters( 'wpgetapi_xml_element', '<?xml version="1.0" encoding="UTF-8"?>' . $root_node );

Generated from WPGet API'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: