Skip to content

Instantly share code, notes, and snippets.

@1naveengiri
Last active May 3, 2024 08:07
Show Gist options
  • Save 1naveengiri/53777e7ec18dd11537135e0a3f55761f to your computer and use it in GitHub Desktop.
Save 1naveengiri/53777e7ec18dd11537135e0a3f55761f to your computer and use it in GitHub Desktop.
Change and Add lists names
<?php
// Define the custom function to modify Trello card stages.
function bd_custom_job_stages( $stages ) {
// Modify the stages name in the array as needed.
$stages = array(
'Job Started',
'Survey',
'Approval',
'Manufacturing',
'Book Job',
'Being Installed', // You can add one more stage just by adding one item in this array
'Complete'
);
return $stages;
}
add_filter( 'bd_job_stages', 'bd_custom_job_stages' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment