Silotree 0.9.7 has 13 actions and 23 filters, read directly from its source code on Nov 19, 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.
// Run your own code when Silotree fires an action
add_action( 'silotree_screen_top', function( $arg1, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value Silotree is about to use
add_filter( 'silotree_broken_bulk_actions', 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
-
/** * The top of one of Silotree's screens, under its heading: where an add-on * says what its last action on this screen did. */ do_action( 'silotree_screen_top', 'broken', 0 ); -
/** * Batch actions on Broken links, offered by an add-on: action key => button * label. With none, there are no checkboxes and no form. * SiloTree_Admin::broken_bulk() checks and passes a submitted action on to * silotree_broken_bulk. */ apply_filters( 'silotree_broken_bulk_actions', array() ); -
/** * The editor's scripts are queued (the Classic Editor's here), for an add-on * to extend. */ do_action( 'silotree_editor_assets', $post, false ); -
/** * Batch actions on one post's Links screen, offered by an add-on: action key * => button label. With none, the report has no checkboxes and no form, as * always. SiloTree_Admin::links_bulk() checks and passes a submitted action on * to silotree_links_bulk. */ apply_filters( 'silotree_links_bulk_actions', array(), $post_id ); -
/** * Batch actions on this report, offered by an add-on: action key => button * label. With none (the plugin on its own), the report has no checkboxes and * no form: nothing is shown that does not work. SiloTree_Admin::report_bulk() * checks and passes a submitted action on to silotree_report_bulk. */ apply_filters( 'silotree_report_bulk_actions', array() ); -
/** * What Undo history calls a batch. */ apply_filters( 'silotree_batch_label', $label, $batch['batch_id'] ); -
/** * Run a batch action from Broken links. Nonce and capability are already * checked. */ do_action( 'silotree_broken_bulk', $action, array_values( $items ) ); -
/** * More buttons for one broken link, beside "Fix in editor". Each is markup the * add-on has escaped. */ apply_filters( 'silotree_broken_row_actions', array(), $row ); -
/** * The broken links this screen lists. An add-on may hold some back for a while * (a link somebody chose to look at later); the counts on Reports are not * changed by it. */ apply_filters( 'silotree_broken_rows', SiloTree_Graph::broken( 80 ) ); -
/** * A page builder's data for a post was written by Silotree (a batch, or its * undo). For a cache or CDN plugin to purge the page; WordPress's own post * cache is already cleared. */ do_action( 'silotree_builder_written', $post_id, $store ); -
/** * Whether to check that newly written links show on the rendered page. */ apply_filters( 'silotree_check_render', true, $post ); -
/** * Counted clicks a minute, for the whole site, before the endpoint stops * counting until the next minute. A single number; nothing about who clicked * is kept to work it out. */ apply_filters( 'silotree_click_rate_limit', self::RATE_LIMIT ); -
/** * Run a batch action from one post's Links screen. Nonce and capability are * already checked. */ do_action( 'silotree_links_bulk', $action, array_values( $items ), $post_id ); -
/** * Everything is loaded and hooked: the moment for an add-on to start. */ do_action( 'silotree_loaded' ); -
/** * Filters how many posts go to the app in one request. */ apply_filters( 'silotree_map_batch', self::MAP_BATCH ); -
/** * The rows the publish prompt offers, for an add-on to add its own to. A row * may carry `endpoint` (where its own "Add link" posts, instead of this * plugin's route) and `payload` (fields sent with it); everything else is * shaped like this plugin's rows. */ apply_filters( 'silotree_new_post_suggestions', $found, $post_id ); -
/** * Filters the post types Silotree scans and links between. */ apply_filters( 'silotree_post_types', array_values( $types ) ); -
/** * The site was removed from its Silotree account; an add-on can forget what it * cached. */ do_action( 'silotree_released' ); -
/** * Run a batch action from the report. Nonce and capability are already * checked. */ do_action( 'silotree_report_bulk', $action, $ids ); -
/** * A batch, or part of one, was undone. */ do_action( 'silotree_reverted', (string) $batch_id, $restored ); -
/** * The foot of one of Silotree's screens, under its list: where an add-on puts * what is less urgent than the list itself. */ do_action( 'silotree_screen_bottom', 'broken' ); -
/** * A settings form an add-on put on this screen. It checks its own nonce and * capability, and answers with a notice (type and sentence) when the form was * its own, or null. */ apply_filters( 'silotree_settings_actions', null ); -
/** * More cards for this screen, from an add-on. Each is a section.st-card. */ do_action( 'silotree_settings_cards' ); -
apply_filters( 'acf_the_content', (string) $content ); -
do_action( 'litespeed_purge_post', $post_id ); -
apply_filters( 'silotree_affiliate_paths', self::AFFILIATE_PATHS ); -
apply_filters( 'silotree_container_blocks', self::CONTAINER_BLOCKS ); -
apply_filters( 'silotree_link_icons_scope', '.entry-content,.wp-block-post-content,.post-content,.elementor-widget-text-editor' ); -
apply_filters( 'silotree_prose_blocks', self::PROSE_BLOCKS ); -
apply_filters( 'the_content', (string) $content ); -
apply_filters( 'wp_check_post_lock_window', 150 ); -
apply_filters( 'wpml_element_language_code', null, $element ); -
apply_filters( 'wpml_element_trid', null, $post_id, $type ); -
apply_filters( 'wpml_get_element_translations', null, $trid, $type ); -
apply_filters( 'wpml_post_language_details', null, $post_id );
Generated from Silotree'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.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin 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 thisNot 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: