Title: Custom Action Block
Author: TPlugins
Published: <strong>16. september, 2024</strong>
Last modified: 13. september, 2025

---

Søg plugins

![](https://ps.w.org/custom-action-block/assets/banner-772x250.png?rev=3152599)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/custom-action-block/assets/icon-256x256.jpg?rev=3152555)

# Custom Action Block

 Af [TPlugins](https://profiles.wordpress.org/tplugins/)

[Download](https://downloads.wordpress.org/plugin/custom-action-block.1.0.1.zip)

 * [Detaljer](https://da.wordpress.org/plugins/custom-action-block/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/custom-action-block/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/custom-action-block/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/custom-action-block/#developers)

 [Support](https://wordpress.org/support/plugin/custom-action-block/)

## Beskrivelse

Custom Action Block is a powerful WordPress plugin that adds a new block type to
the Gutenberg editor. This block allows users to insert custom action hooks anywhere
on their WordPress site, not just in posts and pages. This flexibility enables developers
to add dynamic content or functionality at any location where blocks can be used,
including:
 – Posts and pages – Custom post types – Widget areas (if block-based
widgets are enabled) – Site-wide areas in block-based themes (header, footer, sidebar)–
Reusable blocks that can be inserted anywhere

By providing this level of flexibility, Custom Action Block opens up endless possibilities
for customizing and extending your WordPress site’s functionality.

### Usage

For Content Creators:

 1. Edit a post or page using the block editor
 2. Click the ‘+’ icon to add a new block
 3. Search for “Custom Action” in the block inserter
 4. Add the Custom Action block to your content
 5. In the block settings, specify a unique name for your action (e.g., “my_custom_action”)

## Skærmbilleder

[⌊Custom action block (1/4)⌉⌊Custom action block (1/4)⌉[

Custom action block (1/4)

[⌊Custom action name (2/4)⌉⌊Custom action name (2/4)⌉[

Custom action name (2/4)

[⌊Use on your functions.php (3/4)⌉⌊Use on your functions.php (3/4)⌉[

Use on your functions.php (3/4)

[⌊Action fire on front site (4/4)⌉⌊Action fire on front site (4/4)⌉[

Action fire on front site (4/4)

## Blokke

Dette plugin giver 1 blok.

 *   Custom Action

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/custom-action-block` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.

## FAQ

### Can I use Custom Action blocks in areas other than posts and pages?

Yes! Custom Action blocks can be used anywhere that supports blocks. This includes
widget areas (if your theme supports block-based widgets), headers, footers, and
other template parts in block-based themes.

### Can I use multiple Custom Action blocks in a single post?

Yes, you can use as many Custom Action blocks as you need. Just make sure to give
each a unique action name.

### Is this plugin compatible with my theme?

This plugin should be compatible with any theme that supports the WordPress block
editor (Gutenberg).

### How can developers take advantage of these custom actions?

For example:

    ```
    `php
    ```

 “`

## Anmeldelser

![](https://secure.gravatar.com/avatar/8e7e2fe8a1604d975f83132d28d67fc981fc14feb1484d1fb2cb91c4c1ef9b7f?
s=60&d=retro&r=g)

### 󠀁[Loving the Custom Action Block plugin!](https://wordpress.org/support/topic/loving-the-custom-action-block-plugin/)󠁿

 [hofit42](https://profiles.wordpress.org/hofit42/) 24. september, 2024

Loving the Custom Action Block plugin! It’s super easy to use and lets me add custom
action hooks pretty much anywhere on my site, even in places I didn’t think possible—
like widget areas and headers. I’ve been able to add cool features and dynamic content
without any hassle. If you want more control over your WordPress site, this plugin
is a must-have. Great job, devs!

![](https://secure.gravatar.com/avatar/2c3f07846d345e6a68c52943333427100777e3d8e507516b112c6042a6ff34e2?
s=60&d=retro&r=g)

### 󠀁[Awesome tool](https://wordpress.org/support/topic/awesome-tool-255/)󠁿

 [inbarz3](https://profiles.wordpress.org/inbarz3/) 20. september, 2024

It gives you the flexibility to add custom hooks and dynamic content anywhere on
your site, Ideal for developers, it allows for easy customization without touching
theme files, While beginners might need some learning time, it’s perfect for anyone
looking to enhance their site’s functionality with advanced customization options.
I highly recommend it!

![](https://secure.gravatar.com/avatar/5e1c1cd9ffdffc986540bf84d9ee2a35028045a92c59e7aee75000e3594b57b7?
s=60&d=retro&r=g)

### 󠀁[Great plugin!!](https://wordpress.org/support/topic/great-plugin-39511/)󠁿

 [elroei](https://profiles.wordpress.org/elroei/) 20. september, 2024

Great plugin!! It really helped me integrate my code into specific areas I wanted.
Thank you very much 🙂

![](https://secure.gravatar.com/avatar/502142d025e552130c5ddacd60d86413b66c50e335a4904d17c3c9563f5a4c4e?
s=60&d=retro&r=g)

### 󠀁[Amazing!!!](https://wordpress.org/support/topic/amazing-4020/)󠁿

 [talerez1985](https://profiles.wordpress.org/talerez1985/) 19. september, 2024

Amazing, so useful, what a great pluginWorks great and solved a lot of problems 
for me

 [ Læs alle 4 anmeldelser ](https://wordpress.org/support/plugin/custom-action-block/reviews/)

## Bidragsydere & udviklere

“Custom Action Block” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

 *   [ TPlugins ](https://profiles.wordpress.org/tplugins/)
 *   [ tpplugins ](https://profiles.wordpress.org/tpplugins/)

[Oversæt “Custom Action Block” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/custom-action-block)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/custom-action-block/),
tjek [SVN repository](https://plugins.svn.wordpress.org/custom-action-block/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/custom-action-block/)
via [RSS](https://plugins.trac.wordpress.org/log/custom-action-block/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0.1 – Update

 * Update – WordPress 6.8.2 compatibility
 * Update – WooCommerce 10.1.2 compatibility

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.0.1**
 *  Senest opdateret **10 måneder siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **6.6.5**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/custom-action-block/)
 * Tags
 * [blocks](https://da.wordpress.org/plugins/tags/blocks/)[gutenberg](https://da.wordpress.org/plugins/tags/gutenberg/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/custom-action-block/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  4 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/custom-action-block/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/custom-action-block/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/custom-action-block/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/custom-action-block/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/custom-action-block/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/custom-action-block/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/custom-action-block/reviews/)

## Bidragsydere

 *   [ TPlugins ](https://profiles.wordpress.org/tplugins/)
 *   [ tpplugins ](https://profiles.wordpress.org/tpplugins/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/custom-action-block/)