Skip to content

Latest commit

 

History

History
57 lines (55 loc) · 13.2 KB

File metadata and controls

57 lines (55 loc) · 13.2 KB

EDAC Hooks Reference

This document is auto-generated by tools/generate-hooks-docs.php. It lists only plugin-specific hooks (prefixed with edac_ or edacp_) and links files to the plugin's GitHub branch.

Hook Type File Line Description Since
edac_action_enqueue_frontend_fixes action includes/classes/Fixes/FixesManager.php 120 Maybe enqueue the frontend scripts.
edac_admin_toolbar_menu_items filter includes/classes/class-admin-toolbar.php 77 Filters the admin toolbar menu items for Accessibility Checker. 1.27.0
edac_after_meta_box action admin/class-meta-boxes.php 77 Fires after the meta box is rendered. 1.10.0
edac_after_rule action includes/classes/class-rest-api.php 568 Fires after a rule is run against the content. 1.5.0
edac_after_validate action includes/classes/class-rest-api.php 584 Fires after the validation process is complete. 1.5.0
edac_before_delete_cpt_posts action admin/class-purge-post-data.php 92 Fires before deleting posts of a specific post type. 1.31.0
edac_before_meta_box action admin/class-meta-boxes.php 70 Fires before the meta box is rendered. 1.10.0
edac_before_rule action includes/classes/class-rest-api.php 545 Fires before a rule is run against the content. 1.5.0
edac_before_validate action includes/classes/class-rest-api.php 501 Fires before the validation process starts. 1.5.0
edac_check_license_hook action includes/classes/MyDot/Connector.php 154 Sets up the license page and handlers. 1.xx.x
edac_debug_information filter admin/site-health/class-information.php 79 Filter the debug information. 1.6.10
edac_filter_admin_scripts_slugs filter admin/class-enqueue-admin.php 58 Enqueue the admin and editorApp scripts.
edac_filter_command_classes filter includes/classes/WPCLI/BootstrapCLI.php 83 Filter the list of classes that hold the commands to be registered. 1.15.0
edac_filter_dashboard_widget_capability filter admin/class-helpers.php 229 Filter the capability required to view the dashboard widget. 1.9.3
edac_filter_fixes filter includes/classes/Fixes/FixesManager.php 129 Load the fixes.
edac_filter_fixes_settings_fields filter admin/AdminPage/FixesPage.php 184 Filter the fields that are registered for the fixes settings page. 1.16.0
edac_filter_fixes_settings_sections filter tests/phpunit/includes/classes/Fixes/Fix/AddLabelToUnlabelledFormFieldsFixTest.php 86 Test register method adds settings sections
edac_filter_frontend_fixes_data filter tests/phpunit/includes/classes/Fixes/Fix/PreventLinksOpeningNewWindowFixTest.php 77 Test link modification functionality.
edac_filter_frontend_highlight_post_id filter includes/classes/class-enqueue-frontend.php 105 Enqueue the frontend highlighter.
edac_filter_frontend_highlighter_visibility filter admin/class-frontend-highlight.php 50 Filter the visibility of the frontend highlighter. 1.14.0
edac_filter_generate_link_type_ref filter includes/helper-functions.php 656 Generate links to pro page with some params.
edac_filter_insert_rule_data filter admin/class-insert-rule-data.php 146 Filter the rule data before inserting it into the database. 1.4.0
edac_filter_js_violation_html filter includes/classes/class-rest-api.php 520 REST handler that saves to the DB a list of js rule violations for a post.
edac_filter_post_types filter includes/helper-functions.php 193 Filter the post types that the plugin will check. 1.4.0
edac_filter_readability_content filter admin/class-ajax.php 661 Filter the content used for reading grade readability analysis. 1.4.0
edac_filter_register_rules filter accessibility-checker.php 142 Filter the default rules. 1.4.0
edac_filter_remove_admin_notices_screens filter admin/class-admin-notices.php 88 Filter the screens where admin notices should be removed. 1.14.0
edac_filter_settings_capability filter admin/class-upgrade-promotion.php 49 Add the upgrade menu item. 1.27.0
edac_filter_settings_tab_items filter partials/settings-page.php 19 Filter the settings tab items. 1.4.0
edac_filter_simplified_summary_heading filter includes/classes/class-simplified-summary.php 75 Filter the heading that gets output before the simplified summary inside an

tag.

1.4.0
edac_fix_underline_target filter includes/classes/Fixes/Fix/LinkUnderline.php 118 Filters the target element selector for forcing underlines. 1.16.0
edac_free_product_id filter includes/classes/MyDot/Connector.php 144 Sets up the license page and handlers. 1.xx.x
edac_get_origin_url_for_virtual_page filter admin/class-enqueue-admin.php 118 Enqueue the admin and editorApp scripts.
edac_ignore_permission filter admin/class-ajax.php 326 Filters if a user can ignore issues. 1.4.0
edac_is_sale_time filter admin/class-upgrade-promotion.php 207 Filter whether it's currently sale time for upgrade promotions. 1.27.0
edac_jwt_audience filter includes/classes/MyDot/Connector.php 925 Get the expected audience for JWT validation (RFC 8725). 1.xx.x
edac_jwt_issuer filter includes/classes/MyDot/Connector.php 913 Get the expected issuer for JWT validation (RFC 8725). 1.xx.x
edac_link_wrapper_mock filter tests/phpunit/Admin/PluginRowMetaTest.php 57 Wrapper function that delegates to mock in test mode.
edac_link_wrapper_test_mode filter tests/phpunit/Admin/PluginRowMetaTest.php 56 Wrapper function that delegates to mock in test mode.
edac_max_alt_length filter admin/class-enqueue-admin.php 144 Enqueue the admin and editorApp scripts.
edac_mydot_api_endpoint filter includes/classes/MyDot/Connector.php 528 Filters the MyDot API endpoint URL. 1.xx.x
edac_mydot_product_id filter includes/classes/MyDot/Connector.php 548 Filters the MyDot product ID. 1.xx.x
edac_pro_product_id filter includes/classes/MyDot/Connector.php 1302 Infer license metadata from an EDD response. 1.xx.x
edac_pro_setting_saving_checkbox action includes/options-page.php 881 Filter to run before saving a pro checkbox setting. 1.31.0
edac_scannable_post_statuses filter admin/class-settings.php 28 Filters the list of post statuses that are scannable. 1.29.0
edac_settings_tab_content action partials/settings-page.php 175 Fires after the settings tab content has maybe been displayed. 1.4.0
edac_validate_before_sending_rest_response action includes/classes/class-rest-api.php 617 Fires before sending the REST response ending the validation process. 1.14.0
edac_verify_ssl_for_licensing filter includes/classes/MyDot/Connector.php 508 Determines whether to verify SSL for licensing requests. 1.xx.x
edacp_license_activated action includes/classes/MyDot/Connector.php 165 Sets up the license page and handlers. 1.xx.x
edacp_license_deactivated action includes/classes/MyDot/Connector.php 161 Sets up the license page and handlers. 1.xx.x
edacp_license_page_before_form action admin/AdminPage/ConnectedServicesPage.php 68 Register hooks to add the connected services page to the settings tabs 1.xx.x