Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function shortcode_company_milestone($atts){
- $atts = shortcode_atts(array(
- 'year' => '2017'
- ), $atts );
- $milestone = get_page_by_title($atts['year'], OBJECT, 'milestone');
- return apply_filters('the_content', $milestone->post_content );
- }
Add Comment
Please, Sign In to add comment