wphooks.info - available_permalink_structure_tags

available_permalink_structure_tags

(trunk - 5.0-alpha-43293)

The hook occurs in the following file:

wp-admin/options-permalink.php:
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
					'author'   => __( '%s (A sanitized version of the author name.)' ),
				);

				/**
				 * Filters the list of available permalink structure tags on the Permalinks settings page.
				 *
				 * @since 4.8.0
				 *
				 * @param string[] $available_tags An array of key => value pairs of available permalink structure tags.
				 */
				$available_tags = apply_filters( 'available_permalink_structure_tags', $available_tags );

				/* translators: %s: permalink structure tag */
				$structure_tag_added = __( '%s added to permalink structure' );

				/* translators: %s: permalink structure tag */
				$structure_tag_already_used = __( '%s (already used in permalink structure)' );

				if ( ! empty( $available_tags ) ) :
					?>