wp_force_plain_post_permalink


wp_force_plain_post_permalink ( $post = null, $sample = null )

Parameters:
  • (WP_Post|int|null) post Optional. Post ID or post object. Defaults to global $post.
  • (bool|null) sample Optional. Whether to force consideration based on sample links. If omitted, a sample link is generated if a post object is passed with the filter property set to 'sample'.
Returns:
  • (bool) Whether to use a plain permalink structure.
Defined at:

Description

Determine whether post should always use a plain permalink structure.

Related Functions

get_post_permalink, post_permalink, wp_ajax_get_permalink, previous_post_link, get_parent_post_rel_link

Top Google Results

User discussions

wpseek mobile