-
Notifications
You must be signed in to change notification settings - Fork 4
Hooks
github-actions[bot] edited this page Jun 14, 2026
·
1 revision
-
wpt_upload_image_sizeFilter the uploaded image size. -
wpt_upload_mediaFilter whether this post should upload media.
-
wpt_after_meta_template_boxGenerate fields after the custom template box in the meta box. -
wpt_authors_tabRender actions relevant only when multiple users are enabled. -
wpt_custom_tabDisplay the custom tab container in XPoster Pro. wpt_notes_tabwpt_user_text
the_title-
wpt_hash_sourceChange the taxonomy used by default to generate post tags. Array of terms attached to post. -
wpt_post_infoFilters post array to insert custom data that can be used in status update process. -
wpt_tag_defaultChange the default tag character. Default '#'. -
wpt_twitter_category_descsFilter the space separated list of category descriptions in #cat_descs#. -
wpt_twitter_category_namesFilter the space separated list of category names in #cats#.
-
wpt_do_bluesky_postFilter the approval to send a Bluesky post. -
wpt_do_tootFilter the approval to send a Mastodon Toot. -
wpt_do_tweetFilter the approval to send a Tweet. -
wpt_filter_bluesky_statusFilter status array for Bluesky. -
wpt_filter_mastodon_statusFilter status array for Mastodon. -
wpt_staging_modeTurn on staging mode. Staging mode is automatically turned on if WPT_STAGING_MODE constant is defined. -
wpt_uploaded_image_altAdd alt attributes to uploaded images.
pre_option_link_manager_enabled-
wpt_exclude_post_typesExclude post types from the list of available types to post to X.com. -
wpt_settingsFilter the printed message after updating XPoster settings.
-
wpt_analytics_argumentsFilter the default utm_source argument in link analytics. -
wpt_do_shorteningApply a custom shortener to your status update. Return false to allow the settings to parse the URL or a URL to shortcircuit plugin settings. wpt_save_shortener_settings-
wpt_shorten_linkMake modifications to URLs prior to shortening. -
wpt_shortenersFilter available shorteners. wpt_store_urlwpt_store_urls-
wpt_utm_mediumFilter the default utm_medium argument in link analytics. -
wpt_utm_sourceFilter the default utm_source argument in link analytics.
-
wpt_allowed_post_typesReturn array of post types that can be sent as status updates. -
wpt_auto_tweet_allowedReturn true if auto tweeting of old posts is enabled. -
wpt_filter_post_dataReturn true to block this post based on POST data. Default false. wpt_filter_terms-
wpt_insert_postRuns when post data is inserted. -
wpt_post_to_serviceExecute an action when a status update is executed. -
wpt_recent_tweet_thresholdModify the expiration window for recent status updates. -
wpt_service_enabledFilter whether a given post should be sent to a specific service. -
wpt_should_block_statusApply filters against this post to determine whether it should be allowed to be sent. -
wpt_tweet_failedExecutes an action after posting a status fails. -
wpt_tweet_postedExecutes an action after a status is posted successfully. -
wpt_tweet_this_editFilter whether a post defaults to send updates on edit. -
wptt_shorten_linkFilter the URL passed when running a test function.
-
wpt_allow_copy_metaFilter to allow Duplicate Posts plugin to copy XPoster meta data when a post is duplicated. -
wpt_edit_sensitivityFilter the sensitivity used to distinguish between new posts and edits. -
wpt_post_attachmentFilter the attachment ID to post with a status update. -
wpt_settings_tabs_pagesFilter the array of tabs representings settings pages. -
wpt_show_last_updateDisable the admin notice that shows the last sent update. -
wpt_use_featured_imageFilter whether a post should use its featured image to post with a status update.
-
wpt_default_rate_limitFilter the default rate limit. wpt_rate_limit_taxonomies
-
wpt_custom_shortcodeFilter the output of a custom field template tag. Custom field tags are marked with[[$field]]. -
wpt_custom_tagFilter the value of a custom template tag. -
wpt_custom_truncateFilter a status update template after all content checks are completed. -
wpt_filter_truncated_valueFilter a template tag value after truncation. If a value like an excerpt or post content has been truncated, you can modify the output using this filter. -
wpt_max_lengthFilter the max length array used for calculating status update truncation. wpt_status-
wpt_tagsAdd a new template tag placeholder. -
wpt_tweet_sentenceFilter a template prior to parsing tags. -
wpt_user_meta_shortcodeFilter custom user meta. User meta tags are marked with{{$field}}.