WP Coder icon
Developer Tools

WP Coder hooks reference

  • By Wow-Company
  • v5.0.2 New
  • Updated

WP Coder 5.0.2 has 2 actions and 5 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
// Change a value WP Coder is about to use
add_filter( 'wow_coder_sanitize_svg', function( $value, $file ) {
	// Change $value here.
	return $value;
}, 10, 2 );

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/snippets/class-snippet-enabled.php line 175
    /**
     * Filter whether an uploaded SVG is sanitised. Returning false accepts the
     * file as-is — only do that for assets from a source you control.
     */
    apply_filters( 'wow_coder_sanitize_svg', true, $file );
  • classes/Dashboard/DashboardInitializer.php line 104
    apply_filters( "{WPCoder::PREFIX}_admin_filter_file", $file, $current );
  • classes/Admin/AdminInitializer.php line 163
    do_action( "{WPCoder::PREFIX}_admin_load_styles_scripts" );
  • classes/Dashboard/Settings.php line 296
    apply_filters( "{WPCoder::PREFIX}_save_settings", [ 'data' => [], 'formats' => [] ], $_POST );
  • emoji_svg_url

    filter
    includes/snippets/class-snippet-disabled.php line 418
    apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2/svg/' );
  • includes/snippets/class-snippet-enabled.php line 305
    apply_filters( 'wp_omit_loading_attr_threshold', 1 );

Generated from WP Coder'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: