alone69li
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Advanced Forms for ACF] Add columns per page Entries// Add the custom columns to the book post type: add_filter( 'manage_af_entry_posts_columns', 'set_custom_edit_book_columns' ); function set_custom_edit_book_columns($columns) { $columns['name_user'] = __( 'Name', 'mydomain' ); return $columns; } // Add the data to the custom columns for the book post type: add_action( 'manage_af_entry_posts_custom_column' , 'custom_book_column', 10, 2 ); function custom_book_column( $column, $post_id ) { switch ( $column ) { case 'name_user' : echo get_field('name'); break; } }https://wordpress.stackexchange.com/questions/253640/adding-custom-columns-to-custom-post-types
- This reply was modified 6 years ago by alone69li.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Mail Tags or Page Titlehttps://advancedforms.github.io/guides/basic/processing-form-submissions/
function handle_form_submission( ) { $field = get_the_title(); } add_action( 'af/form/submission', 'handle_form_submission', 10, 3 );maybe it will help
Ok. Thank you so much
Viewing 3 replies - 1 through 3 (of 3 total)