Title: Filter Usage?
Last modified: August 20, 2016

---

# Filter Usage?

 *  [Sunrise12](https://wordpress.org/support/users/sunrise12/)
 * (@sunrise12)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/filter-usage/)
 * I have two questions about the following filter mentioned in the FAQ section:
 * > function custom_force_ssl( $force_ssl, $post_id = 0, $url = ” ) {
   >  if ( $post_id
   > == 5 ) { $force_ssl = true; } return $force_ssl; }
   > add_filter(‘force_ssl’ , ‘custom_force_ssl’, 10, 3);
 * 1. What does 10, 3 refer to in the closing add_filter line?
 * 2. What if you have more than one page that you want to add to the post_id? Can
   you enter more than one Post ID, separated by commas? Example: **if ($post_id
   == 5, 6, 7)**
 * Please advise. Thanks.
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

The topic ‘Filter Usage?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Sunrise12](https://wordpress.org/support/users/sunrise12/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/filter-usage/)
 * Status: not resolved