Skip to content

Commit 1864d8b

Browse files
author
Maxime CULEA
committed
delete not anymore used method
1 parent 0a02187 commit 1864d8b

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

classes/admin/class-post-type.php

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -320,27 +320,4 @@ public static function redirect_post_location( $location, $post_id ) {
320320
public static function get_connection_type(){
321321
return apply_filters( 'mpt_connection_type', array( 'default' => __( 'Username / Mail', 'mpt' ) ) );
322322
}
323-
324-
/**
325-
* Get the import/export page title depending on which part is activated
326-
*
327-
* @author Maxime CULEA
328-
*
329-
* @since 0.5.10
330-
*
331-
* @return string
332-
*/
333-
public static function get_import_export_title_page() {
334-
$title = _x( 'members', 'Members title part on "Import / Export members" page', 'mpt' );
335-
336-
$title_parts = array();
337-
if( ! apply_filters( 'mpt_admin_hide_import', false ) ) {
338-
$title_parts[] = _x( 'Import', 'Import title part on "Import / Export members" page', 'mpt' );
339-
}
340-
if( ! apply_filters( 'mpt_admin_hide_export', false ) ) {
341-
$title_parts[] = _x( 'Export', 'Export title part on "Import / Export members" page', 'mpt' );
342-
}
343-
344-
return esc_html( ! empty( $title_parts ) ? implode( $title_parts, ' / ' ) . ' ' . $title : $title );
345-
}
346323
}

0 commit comments

Comments
 (0)