get_edit_link example


    public function column_author( $post ) {
        $args = array(
            'post_type' => $post->post_type,
            'author'    => get_the_author_meta( 'ID' ),
        );
        echo $this->get_edit_link( $argsget_the_author() );
    }

    /** * Handles the default column output. * * @since 4.3.0 * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_Post $item The current WP_Post object. * @param string $column_name The current column name. */
    
Home | Imprint | This part of the site doesn't use cookies.