Pass empty callback Blazor

I have a component that takes callback as parameter. I only want to pass a callback to it if a certain condition is true. What can I pass to it that will fail the Callback.HasDelegate check Something like <EntityActionMenu DeleteCallback=”@(Item.Id == 0 ? null : EventCallback.Factory.Create(this, Delete))”></EntityActionMenu> or <EntityActionMenu SaveCallback=”@Save” DeleteCallback=”@(Item.Id == 0 ? EventCallback.Factory.Create(this,…

Details

Admin search for custom post type shows results for everything but my post type

I’ve added a custom post type with this: <?php if ( ! function_exists(‘ordinances’) ) { function ordinances() { $args = array( ‘label’ => __( ‘Ordinance’, ‘text_domain’ ), ‘description’ => __( ‘Ordinances’, ‘text_domain’ ), ‘labels’ => $labels, ‘supports’ => array( ‘title’ ), ‘taxonomies’ => false, ‘hierarchical’ => false, ‘public’ => true, ‘show_ui’ => true, ‘show_in_menu’ =>…

Details