components/Pages.php
public function post_type_link( $post_link, $post ) {

		if ( empty( $post ) || $this->object_type != $post->post_type ) {
			return $post_link;
		}

		$post_link = get_site_url() . '/';

		if ( false === strpos( $post->post_title, '*' ) ) {
			$post_link .= trim( $post->post_title, '/ ' ) . '/';
		}

		return $post_link;
	}
public function post_type_link( $post_link, $post ) {

		if ( empty( $post ) || $this->object_type != $post->post_type ) {
			return $post_link;
		}

		$post_link = get_site_url() . '/';

		if ( false === strpos( $post->post_title, '*' ) ) {
			$post_link .= trim( $post->post_title, '/ ' ) . '/';
		}

		return $post_link;
	}
public function post_type_link ( $ post_link , $ post ) { if ( empty ( $ post ) || $ this -> object_type != $ post -> post_type ) { return $ post_link ; } $ post_link = get_site_url ( ) . '/' ; if ( false === strpos ( $ post -> post_title , '*' ) ) { $ post_link .= trim ( $ post -> post_title , '/ ' ) . '/' ; } return $ post_link ; }
Filter permalinks and adjust for pod pages

@param $post_link
@param $post

@return mixed
Filter permalinks and adjust for pod pages