redirection_log_data

redirection_log_data

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: redirection.5.4.2

apply_filters('redirection_log_data') is found 1 times:

  • /models/log/log-redirect.php line 65
    		if ( isset( $details['redirect_by'] ) ) {
    			$insert['redirect_by'] = strtolower( substr( $details['redirect_by'], 0, 50 ) );
    		}
    
    		$insert = apply_filters( 'redirection_log_data', $insert );
    		if ( $insert ) {
    			do_action( 'redirection_log', $insert );
    
    			$wpdb->insert( $wpdb->prefix . 'redirection_logs', $insert );
    			if ( $wpdb->insert_id ) {
    				return $wpdb->insert_id;
    

See this hook used in plugins: