wphooks.info - available_permalink_structure_tags

available_permalink_structure_tags

*** New in v4.9 ***

The hook occurs in the following file:

wp-admin/options-permalink.php:
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
					'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 array $available_tags A key => value pair 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 ) ) :
					?>