post_type ) { // Shortcode column with select all input $shortcode = sprintf( '[give_form id="%s"]', absint( $post->ID ) ); printf( '
', esc_attr( $shortcode ), esc_attr( $shortcode ), esc_html__( 'Copy Shortcode', 'give' ) ); } } add_action( 'post_submitbox_misc_actions', 'give_add_shortcode_to_publish_metabox' );