wpsc_packing_slip_header

Located in: admin-form-functions.php

Functions that call this hook: wpsc_packing_slip()
Arguments Accepted: none
Version Introduced: 3.8

Description: This filter is triggered when the packing slip is printed out. You would use this filter to change the packing slip heading.

Code in context:
[php firstline=”261″ highlight=”262″]
echo "<div class=’packing_slip’>nr";
echo apply_filters( ‘wpsc_packing_slip_header’, ‘<h2>’ . __( ‘Packing Slip’, ‘wpsc’ ) . "</h2>nr" );
echo "<strong>".__(‘Order’, ‘wpsc’)." #</strong> ".$purchase_id."<br /><br />nr";
[/php]

Example Use:
[php]
<?php
add_filter(‘wpsc_packing_slip_header’,’change_packingslip_header’);

function change_packingslip_header(){
$heading = ‘<h4> Music Online – Packing Slip </h4>’;
return $heading;
}
?>
[/php]