AnsPress_Hooks::sanitize_description( string $contents )

Description #

Sanitize post description

Parameters #

  • $contents
    string (Required) Post content.

Source #

File: includes/hooks.php

	public static function sanitize_description( $contents ) {
		$contents = ap_trim_traling_space( $contents );
		return $contents;
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment