atd_service_domain

Change the AtD service domain.

Description

apply_filters( 'atd_service_domain', (string) $service_afterthedeadline_com ); 

Parameters (1)

0. $service_afterthedeadline_com (string) => 'service.afterthedeadline.com'
The URL for AtD service domain, default is service.afterthedeadline.com.

Usage

To run the hook, copy the example below.
  1. $service_afterthedeadline_com = apply_filters( 'atd_service_domain', $service_afterthedeadline_com ); 
  2.  
  3. if ( !empty( $service_afterthedeadline_com ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the atd_service_domain callback 
  2. function filter_atd_service_domain( $service_afterthedeadline_com ) { 
  3. // make filter magic happen here... 
  4. return $service_afterthedeadline_com
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'atd_service_domain', 'filter_atd_service_domain', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'atd_service_domain', 'filter_atd_service_domain', 10, 1 ); 

Defined (1)

The filter is defined in the following location(s).

/modules/after-the-deadline/proxy.php  
  1. $service = apply_filters( 'atd_service_domain', 'service.afterthedeadline.com' );